This change will affect both versions of compute_lagrangian_descriptor in base.py and base_discrete.py.
So, for LD of continuous systems y0 will have to be flattened under compute_lagrangian_descriptor rather than generate_grid, since the integrator requires 1D arrays as input to compute LD values, unlike for discrete maps.
This change will affect both versions of
compute_lagrangian_descriptor
inbase.py
andbase_discrete.py
.So, for LD of continuous systems
y0
will have to be flattened undercompute_lagrangian_descriptor
rather thangenerate_grid
, since the integrator requires 1Darrays
as input to compute LD values, unlike for discrete maps.