Permalink
Browse files

Merge branch 'scientific_in_code_generation' into 'master'

[code generation] literal output scientific (fixes long int to SIMD<double> ambiguity)

See merge request jschoeberl/ngsolve!285
  • Loading branch information...
JSchoeberl committed Jan 15, 2018
2 parents 1c9a6b1 + 929f815 commit 6f89a6ea8afebdc61f3f1a26af4c97dfbd1e66b8
Showing with 1 addition and 1 deletion.
  1. +1 −1 fem/code_generation.hpp
@@ -21,7 +21,7 @@ namespace ngfem
ss << " /* (" << std::setprecision(16) << std::scientific;
ss << val << ") */";
#else
ss << std::setprecision(16);
ss << std::setprecision(16) << std::scientific;
ss << val;
#endif
return ss.str();

0 comments on commit 6f89a6e

Please sign in to comment.