diff --git a/ohmpi/hardware_system.py b/ohmpi/hardware_system.py index 4b97919f3873221f0d34ca942d46c71edc9e1c62..b23e3120c5f2abeb27f6b30ab7662c04b1358b5e 100644 --- a/ohmpi/hardware_system.py +++ b/ohmpi/hardware_system.py @@ -436,6 +436,7 @@ class OhmPiHardware: diff_vab = np.inf if strategy == 'constant': tx_volt = vab_max*.9 + strategy = 'vmax' if strategy == 'vmax': while (k < n_steps) and (diff_vab > diff_vab_lim) and (vab_list[k] < vab_max): vabs = []