Closed BenWibking closed 3 weeks ago
Well, replacing 1 / 0.0
with either std::numeric_limits<real_t>::signaling_NaN()
or NAN
(should be a quiet NaN) causes the test to fail... 🧐
This feature has not ended up being used at all, so one solution would be to remove the test and utils/nan_payload_tag.hpp
Do we envision any use in the (near) future? If not, then I'm in favor of removing unused code.
PR Summary
This removes the
NaN
payload tags infrastructure.It is unused, and the unit test causes a runtime error with UndefinedBehaviorSanitizer. See https://github.com/parthenon-hpc-lab/parthenon/issues/1107.
PR Checklist