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

minor bugfix

[[Imported from SVN: r4472]]
parent 8c9ac37c
No related branches found
No related tags found
No related merge requests found
...@@ -49,8 +49,10 @@ energy(const Entity& element, ...@@ -49,8 +49,10 @@ energy(const Entity& element,
const std::vector<TargetSpace>& localSolution) const const std::vector<TargetSpace>& localSolution) const
{ {
RT energy = 0; RT energy = 0;
assert(element.type().isSimplex());
LocalGeodesicFEFunction<gridDim, double, TargetSpace> localGeodesicFEFunction(element.type(), localSolution); LocalGeodesicFEFunction<gridDim, double, TargetSpace> localGeodesicFEFunction(localSolution);
int quadOrder = 1;//gridDim; int quadOrder = 1;//gridDim;
......
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