Skip to content

Commit 8e8b47e

Browse files
committed
all numbers
1 parent 8bae0f7 commit 8e8b47e

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)