diff --git a/src/lyapunov.c b/src/lyapunov.c index e4c3df6..ced9ac3 100644 --- a/src/lyapunov.c +++ b/src/lyapunov.c @@ -136,8 +136,8 @@ int lyapunov( // average lyapunov for(i=0; istarting_time)){ + lyapunov_avg[i]=lyapunov_avg[i]*(prevtime-starting_time)/(time-starting_time)+lyapunov[i]*(time-prevtime)/(time-starting_time); } }