Skip to content
Snippets Groups Projects
Commit a4c0837b authored by Nils Kohl's avatar Nils Kohl :full_moon_with_face:
Browse files

Fixing std::optional (std::experimental::optional does not seem to have the...

Fixing std::optional (std::experimental::optional does not seem to have the exact same interface as std::optional)
parent b000ebb5
No related merge requests found
......@@ -63,7 +63,7 @@ void runTests( const uint_t numAABBs )
walberla::optional< bool > result = isIntersecting( triDist, testAABB, maxErr );
if ( result.has_value() )
if ( result )
{
if(result.value())
{
......
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