Skip to content

Commit 0717289

Browse files
committed
allow any number
1 parent 7abb243 commit 0717289

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
@@ -10,7 +10,7 @@ using RecursiveArrayTools
1010

1111

1212
# Define type for non-nested dual numbers
13-
const SingleDual{T, V, P} = Dual{T, V, P} where {T, V <:AbstractFloat , P}
13+
const SingleDual{T, V, P} = Dual{T, V, P} where {T, V <:Number , P}
1414

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

0 commit comments

Comments
 (0)