Fixing indices in ode-eig/ThermoelasticRod