Open stefan-apollo opened 6 months ago
We noticed that in the Jacobian code with new Lambdas we get a similar phenomenon of stray edges if Lambda[0] is large such as 1e9. See this comment. Either
This sometimes has to do with badly calculated integrals (because of low n_intervals). For instance, the integrals across ln_out are scaled by a constant factor equal to integral 1/sqrt(alpha) from 0 to 1
(=2). But with low number of n_intervals this integral can be evaluated as ~30 or so. This constant factor is squared when computing lambdas and edges, and leads to whacky values.
Some more info here.
As seen in OP report, the "squared" bases has some stray edges that the "functional" basis does not have.
Presumably due to wrong Lambdas.