-
-
Notifications
You must be signed in to change notification settings - Fork 534
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added __iter__ and __contains__ method to pybamm.ParameterValues (#4465)
* Added __contains__ and __iter__ in pybamm.ParameterValues * After running pre_commit * added tests to verify __iter__ and __contains__ method work-2 * Update tests/unit/test_parameters/test_parameter_values.py Deleted print statement which was intended for debugging Co-authored-by: Agriya Khetarpal <[email protected]> * Update tests/unit/test_parameters/test_parameter_values.py --------- Co-authored-by: Agriya Khetarpal <[email protected]> Co-authored-by: Arjun Verma <[email protected]>
- Loading branch information
1 parent
1b6ef03
commit e148006
Showing
2 changed files
with
27 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters