Skip to content

Commit

Permalink
fix (#1784)
Browse files Browse the repository at this point in the history
  • Loading branch information
calebmkim authored Nov 19, 2023
1 parent aec3fb8 commit ac322ed
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ fn get_id_static<const BEGIN: bool>(c: &ir::StaticControl) -> u64 {
#[inline]
fn get_id<const BEGIN: bool>(c: &ir::Control) -> u64 {
let v = match c {
ir::Control::If(_) => {
ir::Control::If(_) | ir::Control::Static(ir::StaticControl::If(_)) => {
if BEGIN {
c.get_attribute(BEGIN_ID)
} else {
Expand Down

0 comments on commit ac322ed

Please sign in to comment.