Skip to content

Commit

Permalink
allow floordiv for DM
Browse files Browse the repository at this point in the history
  • Loading branch information
jgillis committed Aug 4, 2020
1 parent 33c45a9 commit c9e48e4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/python/typemaps_futurediv.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ def setUp(self):

def test_floordiv(self):
self.message("make sure that floor_div raises errors")
for x in [SX.sym("x"),MX.sym("x"),DM([3]),SX.sym("x")]:
for x in [SX.sym("x"),MX.sym("x"),SX.sym("x")]:
for y in [2,2.0,DM(3),numpy.array([2.0])]:
print((x,y))
self.assertRaises(Exception,lambda : x//y)
Expand Down

0 comments on commit c9e48e4

Please sign in to comment.