From e4791ad383f10c4e533e0697904ad5f2bfbb7c48 Mon Sep 17 00:00:00 2001 From: Sebastien Bourdeauducq Date: Sun, 27 Dec 2015 11:57:13 +0800 Subject: [PATCH] examples/sim/al_spectroscopy: replace FreeValue --- examples/sim/al_spectroscopy.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/sim/al_spectroscopy.py b/examples/sim/al_spectroscopy.py index 3cde9c72d..944def945 100644 --- a/examples/sim/al_spectroscopy.py +++ b/examples/sim/al_spectroscopy.py @@ -13,8 +13,8 @@ class AluminumSpectroscopy(EnvExperiment): self.setattr_device("state_detection") self.setattr_device("pmt") self.setattr_dataset("spectroscopy_freq", 432*MHz) - self.setattr_argument("photon_limit_low", FreeValue(10)) - self.setattr_argument("photon_limit_high", FreeValue(15)) + self.setattr_argument("photon_limit_low", NumberValue(10)) + self.setattr_argument("photon_limit_high", NumberValue(15)) @kernel def run(self):