fix(src/dsolvers/ode_solver): handle the corner case in trajectory printing

fix #9