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

Not possible to use the MVAR #543

Closed
tpersson opened this issue Jan 23, 2018 · 5 comments
Closed

Not possible to use the MVAR #543

tpersson opened this issue Jan 23, 2018 · 5 comments
Assignees
Labels
documentation the behaviour is not documented and should be fixed in the documentation

Comments

@tpersson
Copy link
Contributor

It is written in the documentation that it is possible to define your own variable and then use it to match. However, when I check this was only possible in version of MAD-X before V3 which was around 2006. The macro in MAD-X provides a more powerful matching possibility than the MVAR so I would recommend to remove simply remove it from the documentation.

@tpersson tpersson added defect documentation the behaviour is not documented and should be fixed in the documentation labels Jan 23, 2018
@1ronmoore1
Copy link

Actually, it had been functional in v5.02.13. When I tried v5.03.07 I discovered it was no longer supported.

@tpersson
Copy link
Contributor Author

tpersson commented Mar 1, 2018 via email

@coldfix
Copy link
Collaborator

coldfix commented Mar 1, 2018

Hi, this may be due to my patch then. Can you give a minimal example?

@1ronmoore1
Copy link

I do not have a minimal example handy, and I won't have time to create one until next week.

For what it's worth, in 5.03.07 I see:

+=+=+= fatal: +-+-+- fatal error
match - collect: illegal name
- try with the "slow" option
- name = mvar3

whenever I use a constraint with a user variable. I am using the SLOW flag in my match command. Despite the fatal error message, the match fit continues, and I now realize that I do get the same numerical results in 5.02.13 and 5.03.07.

@tpersson
Copy link
Contributor Author

tpersson commented Mar 1, 2018 via email

coldfix added a commit to coldfix/MAD-X that referenced this issue Mar 1, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation the behaviour is not documented and should be fixed in the documentation
Projects
None yet
Development

No branches or pull requests

4 participants