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

Don't copie the scenario filter into the commonparameters #268

Merged
merged 1 commit into from
Nov 13, 2023

Conversation

greenscientist
Copy link
Contributor

When creating the initial ConnectionSet, we fetch the filters directly from the scenario object. With the current code copying the filter data, we would reapply the same filters to the trips list in the reset functions, spending time for no use.

When creating the initial ConnectionSet, we fetch the filters directly from the
scenario object. With the current code copying the filter data, we would
reapply the same filters to the trips list in the reset functions, spending time
for no use.
@greenscientist greenscientist requested a review from tahini November 7, 2023 18:27
@greenscientist
Copy link
Contributor Author

Improvement is small, but still make a difference.

Confirmed we have the same results

@greenscientist greenscientist merged commit c9d03a4 into chairemobilite:v2c Nov 13, 2023
4 checks passed
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.

2 participants