TDycores-Project / TDycore

BSD 2-Clause "Simplified" License
4 stars 0 forks source link

Fixed a few floating point literals. #231

Closed jeff-cohere closed 2 years ago

jeff-cohere commented 2 years ago

In C, floating point literal values can be expressed many ways, but if one uses scientific notation, e should be used instead of d as the exponent indicator.

The literals replaced in this PR caused build faillures with GCC 11.2.

bishtgautam commented 2 years ago

I guess I was in the Fortran world when I wrote the code.

codecov-commenter commented 2 years ago

Codecov Report

Merging #231 (95ece77) into master (fcff260) will not change coverage. The diff coverage is n/a.

:exclamation: Current head 95ece77 differs from pull request most recent head fcec8af. Consider uploading reports for the commit fcec8af to get more accurate results

@@           Coverage Diff           @@
##           master     #231   +/-   ##
=======================================
  Coverage   51.63%   51.63%           
=======================================
  Files           4        4           
  Lines         765      765           
=======================================
  Hits          395      395           
  Misses        370      370           

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update fcff260...fcec8af. Read the comment docs.