Skip to content

Commit 3af3e3e

Browse files
committed
fix comment
1 parent 9cbac87 commit 3af3e3e

File tree

1 file changed

+1
-1
lines changed
  • tket/src/serialize/pytket/decoder

1 file changed

+1
-1
lines changed

tket/src/serialize/pytket/decoder/wires.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -654,7 +654,7 @@ impl WireTracker {
654654
Arc::new(LoadedParameter::rotation(wire))
655655
}
656656
PytketParam::InputVariable { name } => {
657-
// Special case for the name "pi", inserts a `ConstRotation(1.0)` instead.
657+
// Special case for the name "pi", inserts a `ConstRotation(PI)` instead.
658658
if name == "pi" {
659659
let value: Value = ConstRotation::new(std::f64::consts::PI).unwrap().into();
660660
let wire = hugr.add_load_const(value);

0 commit comments

Comments
 (0)