mirror of
https://github.com/pybind/pybind11.git
synced 2026-04-19 22:39:09 +00:00
The duration calculation was using %, but that's only supported on duration objects when the arithmetic type supports %, and hence fails for floats. Fixed by subtracting off the calculated values instead.
2.1 KiB
2.1 KiB