You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Go to this url: http://localhost:5173/?name=ModFill&viz=ModFill&modDimension=200&seq=Formula&formula=n%21
And then try to make the index negative. Type - in the sequence index box and an appropriate error is displayed. Follow that up by typing 1 (so it should show -1), and instead we get a popup error message, as follows:
I think that such an error ought to be part of the error/warn system, not a show-stopping pop-up. But note that it's important we are using the formula n! to cause this -- it appears to come from math.js or somewhere, because using a formula like n doesn't have this behaviour. So maybe this is about handling mathjs complaints better?
The text was updated successfully, but these errors were encountered:
Yup, this is all about mathjs. I don't think there's any possible way we can detect what combinations of formulas and indices will cause mathjs to throw errors. So this is not a parameter validation problem. Hence it is not a "bug" per se; all error-throwing is handled by these pop-ups. In other words, the designed behavior is occurring. Hence, I am changing the label to UI and adding "meeting" so we can discuss this sometime. I am fine with this not having any particular alpha/beta designation, but if you think it should be for one of the milestones, go ahead and label it as such. Thanks.
gwhitney
added
ui
Something having to do with the user interface
meeting
To be discussed at weekly meeting
sequence
Related to a sequence or the sequence subsystem
and removed
bug
Something isn't working
labels
Oct 26, 2024
Go to this url:
http://localhost:5173/?name=ModFill&viz=ModFill&modDimension=200&seq=Formula&formula=n%21
And then try to make the index negative. Type - in the sequence index box and an appropriate error is displayed. Follow that up by typing 1 (so it should show -1), and instead we get a popup error message, as follows:
I think that such an error ought to be part of the error/warn system, not a show-stopping pop-up. But note that it's important we are using the formula n! to cause this -- it appears to come from math.js or somewhere, because using a formula like n doesn't have this behaviour. So maybe this is about handling mathjs complaints better?
The text was updated successfully, but these errors were encountered: