Skip to content

Commit

Permalink
bug fix: avoid binding const to non-const reference for FunctionBasis
Browse files Browse the repository at this point in the history
  • Loading branch information
AlePalu committed Aug 11, 2023
1 parent 8aa4a52 commit 4951622
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fdaPDE/finite_elements/solvers/fem_solver_base.h
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ template <typename D, typename E, typename F> class FEMSolverBase {
const SpMatrix<double>& R0() const { return R0_; }
const QuadratureRule& integrator() const { return integrator_; }
const FunctionSpace& reference_basis() const { return reference_basis; }
FunctionBasis& basis() const { return fe_basis_; }
const FunctionBasis& basis() const { return fe_basis_; }
// flags
bool is_init = false; // notified true if initialization occurred with no errors
bool success = false; // notified true if problem solved with no errors
Expand Down

0 comments on commit 4951622

Please sign in to comment.