Skip to content

Commit

Permalink
fix get_sym
Browse files Browse the repository at this point in the history
  • Loading branch information
tjjfvi committed May 21, 2024
1 parent 7037798 commit 33649b7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/hvm.cu
Original file line number Diff line number Diff line change
Expand Up @@ -473,7 +473,7 @@ __device__ __host__ inline Numb new_sym(u32 val) {
}

__device__ __host__ inline u32 get_sym(Numb word) {
return (word >> 5) & 0xF;
return (word >> 5);
}

// Constructor and getters for U24 (unsigned 24-bit integer)
Expand Down

0 comments on commit 33649b7

Please sign in to comment.