Open texnokrates opened 5 years ago
I noticed the Travis build fails. It seems that it's a bug in the gcc version used by Travis, cf. https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60407 and https://gcc.gnu.org/bugzilla/show_bug.cgi?id=48891 It compiles fine with gcc 5.4.0.
When attempting to use interpolated material properties at frequencies that are not covered by a data file, scuff-em just silently uses some initialized values. This PR explicitly introduces a warning and sets the material properties to NAN in such cases. Also, scuff-tmatrix now skips the invalid material properties early.