Skip to content

Commit 1548cbc

Browse files
committed
remove type constraints for Wirtinger
1 parent a133468 commit 1548cbc

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/differentials.jl

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -63,10 +63,6 @@ The two fields of the returned instance can be accessed generically via the
6363
struct Wirtinger{P,C} <: AbstractDifferential
6464
primal::P
6565
conjugate::C
66-
function Wirtinger(primal::Union{Number,AbstractDifferential},
67-
conjugate::Union{Number,AbstractDifferential})
68-
return new{typeof(primal),typeof(conjugate)}(primal, conjugate)
69-
end
7066
end
7167

7268
wirtinger_primal(x::Wirtinger) = x.primal

0 commit comments

Comments
 (0)