Skip to content

Commit

Permalink
Merge pull request #4152 from esc/fix_typed_dict_ix
Browse files Browse the repository at this point in the history
fix status check in dict lookup
  • Loading branch information
sklam committed Jun 7, 2019
2 parents a8629a8 + ed8bf8c commit a97dc18
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion numba/dictobject.py
Original file line number Diff line number Diff line change
Expand Up @@ -593,7 +593,7 @@ def codegen(context, builder, sig, args):
],
)
# Load value if output is available
found = builder.icmp_signed('>=', ix, ix.type(int(DKIX.EMPTY)))
found = builder.icmp_signed('>', ix, ix.type(int(DKIX.EMPTY)))

out = context.make_optional_none(builder, td.value_type)
pout = cgutils.alloca_once_value(builder, out)
Expand Down

0 comments on commit a97dc18

Please sign in to comment.