Skip to content

Commit

Permalink
Remove rule for conj (#532)
Browse files Browse the repository at this point in the history
  • Loading branch information
mcabbott authored Jul 28, 2021
1 parent 102ee4d commit 27e1a8d
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ StaticArrays = "90137ffa-7385-5640-81b9-e52037218182"
Calculus = "0.2, 0.3, 0.4, 0.5"
CommonSubexpressions = "0.3"
DiffResults = "0.0.1, 0.0.2, 0.0.3, 0.0.4, 1.0.1"
DiffRules = "0.0.4, 0.0.5, 0.0.6, 0.0.7, 0.0.8, 0.0.9, 0.0.10, 0.1, 1.0"
DiffRules = "1.2.1"
DiffTests = "0.0.1, 0.1"
NaNMath = "0.2.2, 0.3"
SpecialFunctions = "0.1, 0.2, 0.3, 0.4, 0.5, 0.6, 0.7, 0.8, 0.9, 0.10, 1.0"
Expand Down
2 changes: 0 additions & 2 deletions src/dual.jl
Original file line number Diff line number Diff line change
Expand Up @@ -387,8 +387,6 @@ Base.float(d::Dual) = convert(float(typeof(d)), d)
# General Mathematical Operations #
###################################

@inline Base.conj(d::Dual) = d

for (M, f, arity) in DiffRules.diffrules()
in((M, f), ((:Base, :^), (:NaNMath, :pow), (:Base, :/), (:Base, :+), (:Base, :-))) && continue
if arity == 1
Expand Down

2 comments on commit 27e1a8d

@KristofferC
Copy link
Collaborator

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/41858

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 the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via:

git tag -a v0.10.19 -m "<description of version>" 27e1a8d9a0bc4ff05bb19d220d7a75c1c95a4711
git push origin v0.10.19

Please sign in to comment.