diff --git a/server/api_grammar.hpp b/server/api_grammar.hpp index 470954f74..325f4c356 100644 --- a/server/api_grammar.hpp +++ b/server/api_grammar.hpp @@ -78,9 +78,9 @@ template struct APIGrammar : qi::grammar> qi::lit("num_results") >> '=' >> qi::short_[boost::bind(&HandlerT::setNumberOfResults, handler, ::_1)]; matching_beta = (-qi::lit('&')) >> qi::lit("matching_beta") >> '=' >> - qi::short_[boost::bind(&HandlerT::setMatchingBeta, handler, ::_1)]; + qi::float_[boost::bind(&HandlerT::setMatchingBeta, handler, ::_1)]; gps_precision = (-qi::lit('&')) >> qi::lit("gps_precision") >> '=' >> - qi::short_[boost::bind(&HandlerT::setGPSPrecision, handler, ::_1)]; + qi::float_[boost::bind(&HandlerT::setGPSPrecision, handler, ::_1)]; classify = (-qi::lit('&')) >> qi::lit("classify") >> '=' >> qi::bool_[boost::bind(&HandlerT::setClassify, handler, ::_1)]; locs = (-qi::lit('&')) >> qi::lit("locs") >> '=' >>