Commit a4c0837b authored by Nils Kohl's avatar Nils Kohl 🌝
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
......@@ -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())
{
......
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