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

Reference definitions are not able to handle minus values #2466

Open
Lunga001 opened this issue Jan 22, 2024 · 1 comment
Open

Reference definitions are not able to handle minus values #2466

Lunga001 opened this issue Jan 22, 2024 · 1 comment

Comments

@Lunga001
Copy link
Contributor

Description

When adding a % difference, the min and max values are mixed up.
It looks like the calculation is done without taking into account the negative values and only adding them once the calculation is done.

Reproduction guide

I added 20% as the error, and it shows the min value as -24 and the max value as -36.

Observed behaviour

This is wrong, as -36 is less than -24.

Expected behaviour

The minimum value should be -36, and the maximum value should be -24.

Versions

  • OS: Linux

Screenshot

image

@xispa
Copy link
Member

xispa commented Jan 30, 2024

Thanks @Lunga001 for reporting. Addressed with #2470.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants