Commit 2ddd74af authored by Anton Akhmerov's avatar Anton Akhmerov

remove erroneous check

parent c1cee00b
......@@ -77,7 +77,6 @@ def test_operator_construction():
raises(ValueError, a, ket)
raises(ValueError, a, ket, ket)
raises(ValueError, a.act, ket)
raises(ValueError, a.act, ket, ket)
# Test failure on non-hermitian
for A in (ops.Density, ops.Current, ops.Source):
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment