Page MenuHome

Fix: Compile error due to undefined isinf function.
ClosedPublic

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

Details

Summary

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

Diff Detail

Repository
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