Closed cortner closed 6 years ago
The reason is an annoying internal tuple limit in combination with the SVector
constructor.
SVector(a1,a2,...,a15) # this allocates
SVector((a1,a2,...,a15)) # this does not allocate
I already run into this at some point earlier but it seems that it slip through in evaluate
.
This is now fixed on master.
thanks! That also explains a problem I just had with allocating SVector
s that are longer than 15 elements :/
Yeah, there are really some pitfalls one needs to be aware of.
thanks for the quick fix!
Consider the following, still relatively simple polynomial:
Three things are weird here:
evaluate
?evaluate
then why not forJacobian
?