Skip to content
Snippets Groups Projects
Commit a0967fe7 authored by Dr. Felix Tobias Schindler's avatar Dr. Felix Tobias Schindler
Browse files

[function.interface] paramSize() returns 0 in the nonparametric case

parent 06f1b618
No related branches found
No related tags found
No related merge requests found
...@@ -95,8 +95,11 @@ public: ...@@ -95,8 +95,11 @@ public:
virtual size_t paramSize() const virtual size_t paramSize() const
{ {
DUNE_THROW(Dune::NotImplemented, if (!parametric())
"\n" << Dune::Stuff::Common::colorStringRed("ERROR:") << " implement me if parametric() == true!"); return 0;
else
DUNE_THROW(Dune::NotImplemented,
"\n" << Dune::Stuff::Common::colorStringRed("ERROR:") << " implement me if parametric() == true!");
} }
virtual const std::vector<ParamType>& paramRange() const virtual const std::vector<ParamType>& paramRange() const
......
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