Skip to content

Commit

Permalink
[code generation] literal output scientific (fixes long int to SIMD<d…
Browse files Browse the repository at this point in the history
…ouble> ambiguity)
  • Loading branch information
ChrLackner committed Jan 15, 2018
1 parent 4d7c4bf commit 929f815
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fem/code_generation.hpp
Expand Up @@ -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();
Expand Down

0 comments on commit 929f815

Please sign in to comment.