Skip to content

Commit 18a7945

Browse files
authored
Merge pull request #275 from GaneshPatil7517/fix/issue-266-ysp-init
Fix: Initialize ysp before use in controller2knob (Issue #266)
2 parents 144158d + 1ddd97c commit 18a7945

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

demo/controller2knob.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
import numpy as np
22
import concore
33

4+
ysp = 3.0
45

56
def controller(ym):
67
if ym[0] < ysp:

0 commit comments

Comments
 (0)