Metrics alert not disappearing

bug

#1

I noticed that in v 2.6. When a metric is linked and I make a división if the result is not an integer number the alert icon and the red text doesn’t go away. Is this an intended beahaviour or a bug?

Thanks in advace!


#2

That happens if you divide. The resulting number must be rounded, and technically the metrics key is not up to date, because 333 is not 333.33333333. perhaps there should be a tolerance for everything below 1u.


#3

I had a look a the code and fixed this. The width is set to the rounded value but the validation was not rounding.


#4

great, thanks