sandialabs / SpecUtils

A library for opening, manipulating, and exporting gamma spectral files
GNU Lesser General Public License v2.1
27 stars 9 forks source link

Fix "'FLT_EPSILON' was not declared in this scope" error in src/SpecFile_spe.cpp" #7

Closed furutaka closed 2 years ago

furutaka commented 2 years ago

The modification is in need to compile on my Linux boxes (Fedora 35, x86_64).

wcjohns commented 2 years ago

Instead of your proposed change, I ended up replacing FLT_EPSILON with std::numeric_limits<float>::epsilon() in commit e42f92f to avoid including an extra header.

Thank you very much for reporting pointing this issue.