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

TreeReference toString renders 1-based multiplicities by default #623

Open
dcbriccetti opened this issue Mar 15, 2021 · 1 comment
Open

Comments

@dcbriccetti
Copy link
Contributor

Problem description

TreeReference toString renders 1-based multiplicities by default. This is confusing, especially
in the debugger when looking at something like the following:

image

Is it safe to change the default?

If not, we could do something like this to change the default when testing:

image

image

Thoughts?

@lognaturel
Copy link
Member

I don't understand the implications of changing the default. I know at some point there was Collect code that used the toString and expected 1-based indexing but I'm not sure whether that's the case anymore.

I like the Scenario-only fix for now, thanks for suggesting it.

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