forked from jan/fatamorgana
fix overflow when using numpy 2.0
This commit is contained in:
parent
c9e894879f
commit
ab8b71b149
@ -1376,7 +1376,7 @@ class Placement(Record):
|
||||
optional: dict[str, Any] = {}
|
||||
name = read_refname(stream, cc, nn)
|
||||
if record_id == 17:
|
||||
aa = (ma0 << 1) | ma1
|
||||
aa = int((ma0 << 1) | ma1)
|
||||
optional['angle'] = aa * 90
|
||||
elif record_id == 18:
|
||||
mm = ma0
|
||||
|
Loading…
Reference in New Issue
Block a user