You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The constant traits in const.py and array_constants.h do not handle integer types properly as they assume floating-point types.
For the traits specific to floats (e.g. dr::Pi, dr::Epsilon) we should probably add a static assert, and other traits (e.g. dr::Smallest, dr::Largest, ...) should be fixed.
If I find the time, I will try to open a PR to fix those issues.
The text was updated successfully, but these errors were encountered:
The constant traits in
const.py
andarray_constants.h
do not handle integer types properly as they assume floating-point types.For the traits specific to floats (e.g.
dr::Pi
,dr::Epsilon
) we should probably add a static assert, and other traits (e.g.dr::Smallest
,dr::Largest
, ...) should be fixed.If I find the time, I will try to open a PR to fix those issues.
The text was updated successfully, but these errors were encountered: