Commit f937df8c authored by Linus Seelinger's avatar Linus Seelinger Committed by Steffen Müthing

[OneDGrid] Assert that vertices are specified when OneDGrid is initialized

(cherry picked from commit 950226263a2c524a49e6e6cc90c8eaf1446f67a7)
(cherry picked from commit c927dff2)
Signed-off-by: Steffen Müthing's avatarSteffen Müthing <>
parent 2b97fa9f
......@@ -82,6 +82,9 @@ createGrid()
if (grid_==NULL)
return NULL;
// Assert that vertices are given
assert (vertexPositions_.size() > 0);
// ////////////////////////////////////////////////////////
// Insert the vertices into the grid
// ////////////////////////////////////////////////////////
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment