Skip to content

Commit

Permalink
Merge pull request #274 from pepijndevos/patch-2
Browse files Browse the repository at this point in the history
add ne_float intrinsic
  • Loading branch information
oxinabox authored Mar 5, 2024
2 parents 42b02be + 8754d34 commit 1e57ef7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/stage1/forward.jl
Original file line number Diff line number Diff line change
Expand Up @@ -287,7 +287,7 @@ end

function (this::∂☆{N})(f::AbstractZeroBundle{N, Core.IntrinsicFunction}, args::ATB{N}...) where {N}
ff = primal(f)
if ff === Base.not_int
if ff in (Base.not_int, Base.ne_float)
DNEBundle{N}(ff(map(primal, args)...))
else
error("Missing rule for intrinsic function $ff")
Expand Down

0 comments on commit 1e57ef7

Please sign in to comment.