Skip to content
Snippets Groups Projects
Commit 8788ca46 authored by Timo Koch's avatar Timo Koch
Browse files

Merge branch 'fix/cc-subcontrolvolume-corners' into 'next'

Fix error in 'corner(localIdx)' in cc/subcontrolvolume

See merge request !536
parents 225e2ac7 33131b6d
No related branches found
No related tags found
Loading
......@@ -126,8 +126,8 @@ public:
//! Return the corner for the given local index
GlobalPosition corner(unsigned int localIdx) const
{
assert(localIdx < geometry().corners().size() && "provided index exceeds the number of corners");
return geometry().corners(localIdx);
assert(localIdx < geometry().corners() && "provided index exceeds the number of corners");
return geometry().corner(localIdx);
}
private:
......
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