Index: mttroot/mtt/lib/cc/mtt_implicit.cc ================================================================== --- mttroot/mtt/lib/cc/mtt_implicit.cc +++ mttroot/mtt/lib/cc/mtt_implicit.cc @@ -47,11 +47,11 @@ AA (col,row) = 0.0; } } } - x = static_cast (xleftdiv (AA, static_cast(AAx + dx * t))); + x = static_cast (xleftdiv (AA, static_cast(static_cast(AAx + dx * t)))); for (row = 0; row < Nx; row++) { if (openx (row) > 0.5) {