Python Vector function form fails with Constant


Version: 2022

Type: Bug Fixes

Category: Programming

Subcategory:

Jira: ORG-23616


Defined a Python Vector fitting function with constant like following fails to work.

[Constants]
cc=17

[PythonV]
def myfunc(x,a,c):
    return [a*xx+c for xx in x]

[Formula]
y = myfunc(x,A,cc)

Fixed in Origin 2022.