HomerReid / scuff-em

A comprehensive and full-featured computational physics suite for boundary-element analysis of electromagnetic scattering, fluctuation-induced phenomena (Casimir forces and radiative heat transfer), nanophotonics, RF device engineering, electrostatics, and more. Includes a core library with C++ and python APIs as well as many command-line applications.
http://www.homerreid.com/scuff-em
GNU General Public License v2.0
128 stars 51 forks source link

guard use of feenableexcept, which does not exist on OS X #1

Closed jfeist closed 10 years ago

jfeist commented 10 years ago

On OS X, feenableexcept does not exist, so scuff-em does not compile without this change. I only deactivated the possibility to abort on floating point exceptions, it should in principle also be possible to enable it using a different approach, see this stackoverflow question.

HomerReid commented 10 years ago

Thanks for this fix. I think it's fine to keep this disabled on OSX for now.