Open hurak opened 2 years ago
Sorry for the late reply, I missed the notification. You need to give a vector while here you are giving a tuple.
monosY = [v^2 for v in y]
should fix it. Let's leave this issue open, we could add support for tuple input to ensure consistency.
I am trying to reproduce the example on Lyapunov function search from the documentation. The example uses DynamicPolynomials. Since the degree of the polynomials is fixed here, my understanding was that I can freely switch to TypedPolynomials. But then the example fails. Below is the snippet of code relevant to reproduce the failure. First, with DynamicPolynomials:
And now (after restarting the REPL) the same code with TypedPolynomials:
Is this a feature or a bug? I confess I still do not get the difference between the two polynomial types perfectly.