Skip to content

Commit

Permalink
Merge branch 'master' of github.com:Jutho/TensorOperations.jl
Browse files Browse the repository at this point in the history
  • Loading branch information
Jutho committed Feb 5, 2020
2 parents 69de946 + 5880c60 commit 84ca70b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/indexnotation/tensormacros.jl
Original file line number Diff line number Diff line change
Expand Up @@ -184,6 +184,9 @@ function _nconmacro(tensors, indices, kwargs = nothing)
else
throw(ArgumentError("invalid @ncon syntax"))
end
if any(isa(ta, Expr) && ta.head === :... for ta in tensorargs)
throw(ArgumentError("@ncon does not support splats (...) in tensor lists."))
end
conjlist = fill(false, length(tensorargs))
for i = 1:length(tensorargs)
if tensorargs[i] isa Expr
Expand Down

2 comments on commit 84ca70b

@Jutho
Copy link
Owner Author

@Jutho Jutho commented on 84ca70b Feb 6, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@JuliaRegistrator
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Registration pull request created: JuliaRegistries/General/8932

After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.

This will be done automatically if Julia TagBot is installed, or can be done manually through the github interface, or via:

git tag -a v2.1.2 -m "<description of version>" 84ca70b2d863b3fce8908295154e31bf19f533b1
git push origin v2.1.2

Please sign in to comment.