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

Replacing power sign using dictionaries #358

Closed
spj101 opened this issue Jul 14, 2020 · 2 comments
Closed

Replacing power sign using dictionaries #358

spj101 opened this issue Jul 14, 2020 · 2 comments
Labels
bug Something isn't working

Comments

@spj101
Copy link
Contributor

spj101 commented Jul 14, 2020

The FORM manual states that dictionaries can be used to replace the power sign in an expression. However, I can't seem to get this to work correctly.

The following program:

Symbols x;
#OpenDictionary test
  #add ^:"**"
#CloseDictionary
Local F = x^2;
#UseDictionary test
Print;
.end

Outputs:

F = x^2;

Rather than the expected:

F = x**2;

Is this a bug or am I misunderstanding how to use dictionaries?

@vermaseren
Copy link
Owner

vermaseren commented Jul 14, 2020 via email

@spj101
Copy link
Contributor Author

spj101 commented Jul 15, 2020

Thankyou @vermaseren for fixing this so quickly! It seems to be working correctly for me.

tueda added a commit that referenced this issue Jul 17, 2020
@tueda tueda added the bug Something isn't working label Nov 13, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants