Page MenuHome

Fix: Compile error due to undefined isinf function.

Authored by Omar Emara (OmarSquircleArt) on Thu, Sep 5, 11:17 AM.



Some implementations of the standard c++ library doesn't define its
functions in the global namespace, so we have to explicitly use the std

Diff Detail

rB Blender

Event Timeline

Brecht Van Lommel (brecht) requested changes to this revision.Thu, Sep 5, 12:04 PM

This kind of stuff should be abstracted in util_math.h

We use ensure_finite() in other places in the kernel, I think that would work here.

This revision now requires changes to proceed.Thu, Sep 5, 12:04 PM
  • Use ensure_finite instead of isinf.
This revision is now accepted and ready to land.Thu, Sep 5, 12:58 PM