Conley-Morse Graphs Computation Software
Some bugs and how to fix them
Empty Morse decomposition
It may happen that for some systems the invariant part of the box
in the phase space is empty. That case was not taken
into consideration in the software because of the assumptions
made in the paper, but this situation may indeed take place
if investigating an unknown dynamical system.
Unfortunately, the software crashes with a runtime error
if this situation happens. A possible solution of this problem
is as follows:
(1) In the file compmdec.h, at the beginning
of the function invMorseDec, one should add:
if (!nSets)
return;
(2) One should download the most recent version of digraph.h
from the CHomP website, because the old version has a bug
in the function collapseVertices
that makes the program crash if compNum is zero.
Thanks to Marcio
Gameiro for this fix.