Skip to content

Commit 887d282

Browse files
authored
resolve ambiguities with irrational constants (#260)
1 parent 4cdbd60 commit 887d282

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ForwardDiff.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ import CommonSubexpressions
1818

1919
const NANSAFE_MODE_ENABLED = false
2020

21-
const REAL_TYPES = (AbstractFloat, Irrational, Integer, Rational, Real)
21+
const REAL_TYPES = (AbstractFloat, Irrational, Integer, Rational, Real, Irrational{:e}, Irrational{})
2222

2323
const DEFAULT_CHUNK_THRESHOLD = 10
2424

0 commit comments

Comments
 (0)