Skip to content

Commit

Permalink
jets: fix bex overallocation
Browse files Browse the repository at this point in the history
  • Loading branch information
barter-simsum committed Jul 6, 2024
1 parent 0f45645 commit 736cb23
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rust/ares/src/jets/bits.rs
Original file line number Diff line number Diff line change
Expand Up @@ -310,7 +310,7 @@ pub mod util {
if arg < 63 {
DirectAtom::new_unchecked(1 << arg).as_atom()
} else {
let (mut atom, dest) = IndirectAtom::new_raw_mut_bitslice(stack, (arg + 7) >> 3);
let (mut atom, dest) = IndirectAtom::new_raw_mut_bitslice(stack, (arg + 7) >> 5);
dest.set(arg, true);
atom.normalize_as_atom()
}
Expand Down

0 comments on commit 736cb23

Please sign in to comment.