-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Tripy][Bugfix] Use correct types in
__str__
method for `ShapeScala…
…r` (#212) Noticed a small error: The `__str__` method for `ShapeScalar` assumed that evaluating the scalar would give a list output, resulting in a type error, since the actual result is a scalar. This PR fixes that and adds a check to the unit tests.
- Loading branch information
1 parent
d3e9d2c
commit f72a7af
Showing
2 changed files
with
18 additions
and
3 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