Skip to content

Commit

Permalink
Fix var name
Browse files Browse the repository at this point in the history
  • Loading branch information
idavis committed Jan 8, 2025
1 parent 9c32efe commit ac0c880
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions compiler/qsc_partial_eval/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2870,9 +2870,9 @@ impl<'a> PartialEvaluator<'a> {
}

fn record_double(&mut self, instrs: &mut Vec<Instruction>, val: f64) {
let int_record_callable_id = self.get_double_record_callable();
let double_record_callable_id = self.get_double_record_callable();
instrs.push(Instruction::Call(
int_record_callable_id,
double_record_callable_id,
vec![
Operand::Literal(Literal::Double(val)),
Operand::Literal(Literal::Pointer),
Expand Down

0 comments on commit ac0c880

Please sign in to comment.