-
Notifications
You must be signed in to change notification settings - Fork 149
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
ev() expands its scope for argument simp #1213
Comments
Could you post the test-case text into the issue please so I don't have to re-type it?! Thanks. |
Sure, here it is:
|
Is the problem that in the last example you have Here is a minimal example, and the last line has a workaround
I think this is to do with the way castext is extracted and evaluated. The alternative is to use variables, as follows.
and then the catext
|
The injection of values to CASText is a tricky mess, and it currently does not support mixed simplification settings within a singular injection. The fact that it reacts the way it does when it spots any logic inside of it affecting Do note that the current logic does not even try to identify mixed Note that anyone can try to change way the contents of The preferred way for this is the variable-based way Chris suggested, but you always use the
|
Since this is going to be very complex to fix, and there is a workaround, I'm going to park this issue in the "backlog" for now. Thanks for reporting it. |
The last ev() in an expression seems to impose its simplification property on the entire expression. Since the numer argument does not do the same, this seems to be rather a simp than an ev() issue.
I use STACK 4.6 and can't reproduce this error in the Maxima sandbox.
The text was updated successfully, but these errors were encountered: