Skip to content

Commit 5dd9ce0

Browse files
committed
change to AbstractFloat
1 parent 16f5f0f commit 5dd9ce0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ext/LinearSolveForwardDiffExt.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ using RecursiveArrayTools
99

1010

1111
# Define type for non-nested dual numbers
12-
const SingleDual{T, V, P} = Dual{T, V, P} where {T, V <:Union{Float64, Float32} , P}
12+
const SingleDual{T, V, P} = Dual{T, V, P} where {T, V <:AbstractFloat , P}
1313

1414
# Define type for nested dual numbers
1515
const NestedDual{T, V, P} = Dual{T, V, P} where {T, V <: Dual, P}

0 commit comments

Comments
 (0)