Compiling Error in Aneurysm Case


I’m trying to compile the aneurysm case, but there is following error:

“…\src\algorithm\benchmarkUtil.hh|99|error: ‘isnan’ was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]|”

I have the same error in other cases, when using “util::ValueTracer”.
I’m using Palabos 1.4R1 (also tried 1.1 with same error) with Windows and Codeblocks.

I am thankful for any help.

Best regards

Try an ANSI C compatible name: _isnan

Hello MrKat, thank you for your answer.
If I understand you right, I shoul rename “isnan” to “_isnan”?

So that:
“if (!isnan(stdDev/average))”
looks like
“if (!_isnan(stdDev/average))”

If I do this, the error is gone, but it seems that convergence calculation doesn’t work well.

As I need the convergence calculation for another modell, I try to write it by myself.

But if you have other solutions, you are welcome.