We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 16a5ba0 commit b77d0c1Copy full SHA for b77d0c1
src/implementation/ncon.jl
@@ -29,7 +29,7 @@ function ncon(
29
)
30
length(tensors) == length(network) == length(conjlist) ||
31
throw(ArgumentError("number of tensors and of index lists should be the same"))
32
- isnconstyle(network) || throw(ArgumentError(_nconstyle_error(network)))
+ isnconstyle(network) || throw(ArgumentError("invalid NCON network: $network"))
33
output′ = nconoutput(network, output)
34
35
if length(tensors) == 1
0 commit comments