-
Notifications
You must be signed in to change notification settings - Fork 62
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixed off-by-one error of
inner
argument to evaluate()
.
When selecting inner solutions to be returned by `Model.evaluate()`, the indices were off by one. This is because Comsol uses 1-based array indexing whereas Python's is 0-based, and the `inner` indices were used on the Python side after having Comsol return all solutions at once (in cases where the evaluation feature does not accept the indices as an argument).
- Loading branch information
Showing
2 changed files
with
16 additions
and
10 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