-
Notifications
You must be signed in to change notification settings - Fork 616
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix #224, imath python code such that tests pass under python3
Previously had fixed print functions, this pass converts the following: - integer division changed in python3 3/2 -> 1.5, have to use 3//2 to get an int - xrange is no more, just use range - integer type coersion for division not working, force type constructor Signed-off-by: Kimball Thurston <kdt3rd@gmail.com>
- Loading branch information
Showing
2 changed files
with
38 additions
and
39 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