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

Issue with Support for Making Matrices Optional in Expressions #32

Open
RajaTheKing826 opened this issue Sep 25, 2023 · 2 comments
Open

Comments

@RajaTheKing826
Copy link

@kgram
Issue Summary:

I am encountering an issue with the "react-equation" library, specifically related to the support for making matrices optional in the given expression. Currently, square brackets are accepted in the expression, but there seems to be no way of disregarding the presence of matrices when they are not needed.

Expected Behavior:

I expect that there should be a way to indicate that matrices are optional in the expression, and square brackets should not be enforced when they are not needed.

Actual Behavior:

The current behavior is that square brackets are always allowed, even when matrices are not intended to be used in the expression.

Thank you for your attention to this matter. Please let me know if there are any further details or clarifications needed.

@RajaTheKing826
Copy link
Author

@kgram

@kgram
Copy link
Owner

kgram commented Oct 2, 2023

I am a bit unsure about what you mean when you say "optional", but I'm gonna interpret it as "disallowed". If that is the case, and you simply want to get an error if anyone tries to use matrices, the answer is the same as the first part of my answer to you here: #31 (comment).

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

No branches or pull requests

2 participants