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

Update identifier indices for inline examples #127

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

mint-thompson
Copy link

While testing a planned feature for SUSHI v3.0, I discovered a potential discrepancy involving the use of soft indexing in two examples. If my understanding of the intent of these examples is correct, the identifier arrays should have two elements in them: the named mpid slice, followed by an element without a slice name.

SUSHI currently resolves soft indexing in a way that does not account for existing named slices. As a result, the identifier slices on these examples were having the values in the mpid slice overwritten. This update sets the indices such that there are two elements in the identifier arrays. The manual slice ordering feature that will be part of SUSHI v3.0 will allow soft indexing to be used here, if the feature is enabled.

SUSHI currently resolves soft indexing in a way that does not account
for existing named slices. As a result, the identifier slices on these
examples were having the values in the "mpid" slice overwritten. This
update sets the indices such that there are two elements in the
identifier arrays. The manual slice ordering feature that will be part
of SUSHI v3.0 will allow soft indexing to be used here, if the feature
is enabled.
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

Successfully merging this pull request may close these issues.

1 participant