File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11name = " TensorKit"
22uuid = " 07d1fe3e-3e46-537d-9eac-e9e13d0d4cec"
33authors = [" Jutho Haegeman" ]
4- version = " 0.3.1 "
4+ version = " 0.3.2 "
55
66[deps ]
77LinearAlgebra = " 37e2e46d-f89d-539d-b4ee-838fcccc9c8e"
Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ function CartesianSpace(dim::Pair; dual = false)
1414 return CartesianSpace (dim. second; dual = dual)
1515 else
1616 msg = " $(dim) is not a valid dimension for CartesianSpace"
17- throw (ArgumentError (msg))
17+ throw (SectorMismatch (msg))
1818 end
1919end
2020CartesianSpace (dim:: AbstractDict ; dual = false ) = CartesianSpace (dim... ; dual = dual)
Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ function ComplexSpace(dim::Pair; dual = false)
1515 return ComplexSpace (dim. second; dual = dual)
1616 else
1717 msg = " $(dim) is not a valid dimension for ComplexSpace"
18- throw (ArgumentError (msg))
18+ throw (SectorMismatch (msg))
1919 end
2020end
2121ComplexSpace (dims:: AbstractDict ; dual = false ) = ComplexSpace (dims... ; dual = dual)
You can’t perform that action at this time.
0 commit comments