Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: error in determining timestamp less than #979

Merged
merged 1 commit into from Nov 14, 2023
Merged

fix: error in determining timestamp less than #979

merged 1 commit into from Nov 14, 2023

Commits on Nov 13, 2023

  1. fix: error in determining timestamp less than

    ```
    __lt__ is the negation of __gt__ by default.
    so samples.Timestamp(1, 1) > samples.Timestamp(1, 1) is false
    and samples.Timestamp(1, 1) < samples.Timestamp(1, 1) is true.
    but  samples.Timestamp(1, 1) < samples.Timestamp(1, 1) should be false too.
    add __lt__ func to fix the bug
    ```
    
    Signed-off-by: weidongkl <weidongkl@sina.com>
    weidongkl committed Nov 13, 2023
    Configuration menu
    Copy the full SHA
    da8d29d View commit details
    Browse the repository at this point in the history