Skip to content
This repository has been archived by the owner on Feb 23, 2024. It is now read-only.

Fix/double for strategy #1226

Merged
merged 17 commits into from
Jan 15, 2024
Merged

Fix/double for strategy #1226

merged 17 commits into from
Jan 15, 2024

Conversation

DelaunayAlex
Copy link
Contributor

No description provided.

@DelaunayAlex DelaunayAlex force-pushed the fix/double_for_strategy branch from 3b988f1 to 22a86e5 Compare January 11, 2024 14:00
@DelaunayAlex DelaunayAlex marked this pull request as ready for review January 11, 2024 16:12
@boddissattva
Copy link
Member

I have an interrogation : Do we know how the strategy behaves when the indexes are mixed up ?
When there is an inner for strategy without an index parameter defined, what happens ?

@nbrouand nbrouand added the bug Something isn't working label Jan 12, 2024
@DelaunayAlex
Copy link
Contributor Author

I have an interrogation : Do we know how the strategy behaves when the indexes are mixed up ? When there is an inner for strategy without an index parameter defined, what happens ?

In this situation the two loops will have the same index, and every will be resolved by the outer for loop because it is resolved reccursively before the inner for loops. It is on the user to explicit the index variable in the dataset. This is the same if the datasets have keys in common

@DelaunayAlex DelaunayAlex force-pushed the fix/double_for_strategy branch from 2ae219d to 72c9826 Compare January 15, 2024 07:59
@nbrouand nbrouand merged commit 4e894d3 into master Jan 15, 2024
3 checks passed
@nbrouand nbrouand deleted the fix/double_for_strategy branch January 15, 2024 14:09
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants