Skip to content
Snippets Groups Projects
Commit c54b290c authored by Timo Koch's avatar Timo Koch Committed by Dennis Gläser
Browse files

[assemblerview] Add const non-constexpr overload of isImplicit

parent 376c00bd
No related branches found
No related tags found
1 merge request!3608[experimental] Multistage assembler
...@@ -55,8 +55,11 @@ public: ...@@ -55,8 +55,11 @@ public:
const auto& prevSol() const { return assembler_.prevSol(); } const auto& prevSol() const { return assembler_.prevSol(); }
bool isStationaryProblem() const { return assembler_.isStationaryProblem(); } bool isStationaryProblem() const { return assembler_.isStationaryProblem(); }
template<class A = MDAssembler, typename std::enable_if_t<A::isImplicit(), int> = 0>
static constexpr bool isImplicit() { return MDAssembler::isImplicit(); } static constexpr bool isImplicit() { return MDAssembler::isImplicit(); }
bool isImplicit() const { return assembler_.isImplicit(); }
private: private:
MDAssembler& assembler_; MDAssembler& assembler_;
}; };
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment