Parameter::get_scalar() should be const
Merge branch 'master' into specialize_branched_loops
Some fixes to a few bugs that showed up in testing this branch.