Skip to content

Commit 27e1a8d

Browse files
authored
Remove rule for conj (#532)
1 parent 102ee4d commit 27e1a8d

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

Project.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ StaticArrays = "90137ffa-7385-5640-81b9-e52037218182"
1717
Calculus = "0.2, 0.3, 0.4, 0.5"
1818
CommonSubexpressions = "0.3"
1919
DiffResults = "0.0.1, 0.0.2, 0.0.3, 0.0.4, 1.0.1"
20-
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"
20+
DiffRules = "1.2.1"
2121
DiffTests = "0.0.1, 0.1"
2222
NaNMath = "0.2.2, 0.3"
2323
SpecialFunctions = "0.1, 0.2, 0.3, 0.4, 0.5, 0.6, 0.7, 0.8, 0.9, 0.10, 1.0"

src/dual.jl

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -387,8 +387,6 @@ Base.float(d::Dual) = convert(float(typeof(d)), d)
387387
# General Mathematical Operations #
388388
###################################
389389

390-
@inline Base.conj(d::Dual) = d
391-
392390
for (M, f, arity) in DiffRules.diffrules()
393391
in((M, f), ((:Base, :^), (:NaNMath, :pow), (:Base, :/), (:Base, :+), (:Base, :-))) && continue
394392
if arity == 1

0 commit comments

Comments
 (0)