correcting heuristic execution
Merge pull request #276 from matfed/master

correcting heuristic execution