Skip to content

Commit

Permalink
Uninitialized VectorD is now an internal error
Browse files Browse the repository at this point in the history
  • Loading branch information
benmwebb committed Feb 2, 2024
1 parent d9fe759 commit cfed949
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/algebra/test/test_vector3d.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ def test_magnitude(self):
def test_uninit(self):
"""Check use of uninitialized Vector3D"""
v = IMP.algebra.Vector3D()
self.assertRaises(IMP.UsageException, v.__getitem__, 0)
self.assertRaises(IMP.InternalException, v.__getitem__, 0)

def test_from_floats(self):
"""Check Vector3D from floats"""
Expand Down

0 comments on commit cfed949

Please sign in to comment.