Skip to content

Commit 1e57ef7

Browse files
authored
Merge pull request #274 from pepijndevos/patch-2
add ne_float intrinsic
2 parents 42b02be + 8754d34 commit 1e57ef7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/stage1/forward.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -287,7 +287,7 @@ end
287287

288288
function (this::∂☆{N})(f::AbstractZeroBundle{N, Core.IntrinsicFunction}, args::ATB{N}...) where {N}
289289
ff = primal(f)
290-
if ff === Base.not_int
290+
if ff in (Base.not_int, Base.ne_float)
291291
DNEBundle{N}(ff(map(primal, args)...))
292292
else
293293
error("Missing rule for intrinsic function $ff")

0 commit comments

Comments
 (0)