Use override & final instead of just using virtual.

This is safer than using virtual and this lead to a minor
bug fixes.

Change-Id: Id69cb1cc569bf6bf245f22f029c7871b6c712568
This commit is contained in:
Sameer Agarwal
2019-07-14 00:16:13 +02:00
parent e4577dd6d9
commit 2ffddaccfe
89 changed files with 478 additions and 482 deletions
@@ -59,11 +59,11 @@ class DynamicSparseNormalCholeskySolver
virtual ~DynamicSparseNormalCholeskySolver() {}
private:
virtual LinearSolver::Summary SolveImpl(
LinearSolver::Summary SolveImpl(
CompressedRowSparseMatrix* A,
const double* b,
const LinearSolver::PerSolveOptions& options,
double* x);
double* x) final;
LinearSolver::Summary SolveImplUsingSuiteSparse(
CompressedRowSparseMatrix* A,