Commit d2f85033 authored by GILLES Sebastien's avatar GILLES Sebastien
Browse files

#1317 When Nan tests are activated, be more specific for d2W computation in...

#1317 When Nan tests are activated, be more specific for d2W computation in hyperelasticity (modification done to track bug #1317 in CardiacMechanics model).
parent 0ad9cf57
......@@ -102,6 +102,8 @@ namespace MoReFEM
Seldon::Add(dWdI3, d2I3dCdC, d2W);
# ifdef MOREFEM_CHECK_NAN_AND_INF
Wrappers::Seldon::ThrowIfNanInside(d2I2dCdC, __FILE__, __LINE__);
Wrappers::Seldon::ThrowIfNanInside(d2I3dCdC, __FILE__, __LINE__);
Wrappers::Seldon::ThrowIfNanInside(d2W, __FILE__, __LINE__);
# endif // MOREFEM_CHECK_NAN_AND_INF
}
......
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