• Jason Rhinelander's avatar
    Fix for floating point durations · e5456c22
    Jason Rhinelander authored
    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.
    e5456c22
test_chrono.cpp 2.05 KB