Commit 8a075c1a authored by Alexander Wiebel's avatar Alexander Wiebel
Browse files

[FIX #119] grid will never be a valueset :-)

parent c19283a0
......@@ -125,7 +125,7 @@ boost::shared_ptr< WDataSetSingle > WMDistanceMap::createOffset( boost::shared_p
// TODO(wiebel): we should be able to do all this without the value vector.
boost::shared_ptr< WValueSet< float > > valueSet = boost::shared_dynamic_cast< WValueSet< float > >( ( *dataSet ).getValueSet() );
assert( valueSet );
boost::shared_ptr< WGridRegular3D > grid = boost::shared_dynamic_cast< WGridRegular3D >( ( *dataSet ).getValueSet() );
boost::shared_ptr< WGridRegular3D > grid = boost::shared_dynamic_cast< WGridRegular3D >( ( *dataSet ).getGrid() );
assert( grid );
const std::vector< float >* source = valueSet->rawDataVectorPointer();
......
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