Skip to content
Snippets Groups Projects
Commit d938ad9e authored by Olli Lupton's avatar Olli Lupton
Browse files

Fix assert condition in with_functors mixin.

parent bded8072
No related branches found
No related tags found
1 merge request!2141Improve ThOr functor testing with different SIMD backends
Pipeline #1821157 passed
......@@ -110,7 +110,7 @@ namespace Functors::detail {
// property was already added, let's check it was the correct type
auto const& property_base = owner->getProperty( PropertyName );
assert( property_base.type_info() );
assert( *property_base.type_info() == typeid( Property_t ) );
assert( *property_base.type_info() == typeid( value_type ) );
return dynamic_cast<Property_t const&>( property_base );
} else {
// property wasn't already added, make one
......
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