Skip to content
Snippets Groups Projects
Commit c8e0b8a2 authored by Oliver Sander's avatar Oliver Sander Committed by sander@FU-BERLIN.DE
Browse files

abort if the number of coefficients is not correct

[[Imported from SVN: r7127]]
parent 99a14305
Branches
No related tags found
No related merge requests found
......@@ -74,7 +74,9 @@ public:
/** \brief Constructor */
LocalGeodesicFEFunction(const std::vector<TargetSpace>& coefficients)
: coefficients_(coefficients)
{}
{
assert(coefficients_.size() == dim+1);
}
/** \brief Evaluate the function */
TargetSpace evaluate(const Dune::FieldVector<ctype, dim>& local) const;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment