Fixing bug which defaulted to polynomial minimizer