You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When the passed value to truncate is a float, the following error message is produced
======================================================================
ERROR: test_USD_5196 (__main__.TestUsdBugs)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/mkuruc/code/inst/USD/tests/testUsdBugs", line 433, in test_USD_5196
fobj.truncate(size / 2)
TypeError: 'float' object cannot be interpreted as an integer
----------------------------------------------------------------------
Ran 13 tests in 0.992s
Converting to an explicit integer division avoids the issue.
Description of Issue
When the passed value to
truncate
is afloat
, the following error message is producedConverting to an explicit integer division avoids the issue.
Steps to Reproduce
System Information (OS, Hardware)
Ubuntu 22.04.1 LTS
Package Versions
Python 3.10
Boost 1.78
TBB 2020.3
Build Flags
--no-imaging --tests
The text was updated successfully, but these errors were encountered: