Skip to content

Commit

Permalink
fixed dispatch bug
Browse files Browse the repository at this point in the history
  • Loading branch information
chakravala committed Mar 11, 2020
1 parent dc6dd29 commit f33861f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Project.toml
@@ -1,7 +1,7 @@
name = "Leibniz"
uuid = "edad4870-8a01-11e9-2d75-8f02e448fc59"
authors = ["Michael Reed"]
version = "0.0.4"
version = "0.0.5"

[deps]
AbstractTensors = "a8e43f4a-99b7-5565-8bf1-0165161caaea"
Expand Down
4 changes: 2 additions & 2 deletions src/Leibniz.jl
Expand Up @@ -207,8 +207,8 @@ import LinearAlgebra: dot, cross

for op (:+,:-,:*,:/,:\,:,:,:dot,:cross)
@eval begin
$op(a::Derivation,b::B) where B<:TensorAlgebra{V} where V = $op(V(a),b)
$op(a::A,b::Derivation) where A<:TensorAlgebra{V} where V = $op(a,V(b))
$op(a::Derivation,b::B) where B<:TensorAlgebra = $op(Manifold(b)(a),b)
$op(a::A,b::Derivation) where A<:TensorAlgebra = $op(a,Manifold(a)(b))
end
end

Expand Down

2 comments on commit f33861f

@chakravala
Copy link
Owner Author

Choose a reason for hiding this comment

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

@JuliaRegistrator register()

@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/10811

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 v0.0.5 -m "<description of version>" f33861f6723d89b2a509ffc7d5fb3302fb1d9342
git push origin v0.0.5

Please sign in to comment.