You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
testFunctionFit
| ffarp |
ff :=PMFunctionFitfunction: f data: d.
ar := ff parameters.
ar
do: [ :i |
selfassert: i isNumber.
selfassert: i ~=0 ].
ff parameters:#(1 2).
selfassert: ff parameters equals:#(1 2).
p :=PMWeightedPointpoint:-2 @ 1.
selfshouldnt: [ ff accumulate: p ] raise:Error. "function result will be NaN and should be ignored in the following calculations"
ff parameters: ar.
ff evaluate.
selfassert: (ff parameters equalsTo:#(2 0.4))
Literal mutating
ff parameters: #(1 2)
has versions likeff parameters: #(1 SmallInteger maxVal)
which is not acceptable.The text was updated successfully, but these errors were encountered: