Remove assignin statements
Functions like dyn2vec
have statements like
assignin('base', M_.endo_names{i}, oo_.endo_simul(i,k)');
that will overwrite the main globals if a variable has their name, e.g. M_
. This will cause cryptic crashes.
Edited by Johannes Pfeifer