Skip to content

Commit 93a7b14

Browse files
Update src/differentials.jl
Co-Authored-By: Nick Robinson <npr251@gmail.com>
1 parent 41f1071 commit 93a7b14

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/differentials.jl

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,8 @@ extern(x::AbstractWirtinger) = throw(ArgumentError("`AbstractWirtinger` cannot b
5555
Base.iterate(x::AbstractWirtinger) = (x, nothing)
5656
Base.iterate(::AbstractWirtinger, ::Any) = nothing
5757

58-
# `conj` is not defined for `AbstractWirtinger`
58+
# `conj` is not defined for `AbstractWirtinger`.
59+
# Need this method to override the definition of `conj` for `AbstractDifferential`.
5960
Base.conj(x::AbstractWirtinger) = throw(MethodError(conj, x))
6061

6162
#####

0 commit comments

Comments
 (0)