Skip to content

Commit b77d0c1

Browse files
more formatting
1 parent 16a5ba0 commit b77d0c1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/implementation/ncon.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ function ncon(
2929
)
3030
length(tensors) == length(network) == length(conjlist) ||
3131
throw(ArgumentError("number of tensors and of index lists should be the same"))
32-
isnconstyle(network) || throw(ArgumentError(_nconstyle_error(network)))
32+
isnconstyle(network) || throw(ArgumentError("invalid NCON network: $network"))
3333
output′ = nconoutput(network, output)
3434

3535
if length(tensors) == 1

0 commit comments

Comments
 (0)