Commit 4ac2e5bc authored by Praetorius, Simon's avatar Praetorius, Simon
Browse files

Fix assert with point data reader

parent fbd7ea90
......@@ -126,7 +126,7 @@ namespace Dune
auto point_it = pointData_.find("PointData." + name);
VTK_ASSERT_MSG(data_it != dataArray_.end() && point_it != pointData_.end(),
"The data to extract is not found in point-data. Try `getCellData()` instead!");
VTK_ASSERT(data_it->second.section == CELL_DATA);
VTK_ASSERT(data_it->second.section == POINT_DATA);
return {*creator_, point_it->second, data_it->second.components,
vec_types, vec_offsets, vec_connectivity};
Supports Markdown
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