We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9cbac87 commit 3af3e3eCopy full SHA for 3af3e3e
tket/src/serialize/pytket/decoder/wires.rs
@@ -654,7 +654,7 @@ impl WireTracker {
654
Arc::new(LoadedParameter::rotation(wire))
655
}
656
PytketParam::InputVariable { name } => {
657
- // Special case for the name "pi", inserts a `ConstRotation(1.0)` instead.
+ // Special case for the name "pi", inserts a `ConstRotation(PI)` instead.
658
if name == "pi" {
659
let value: Value = ConstRotation::new(std::f64::consts::PI).unwrap().into();
660
let wire = hugr.add_load_const(value);
0 commit comments