expression grammara - add log function

This commit is contained in:
artemp 2016-08-11 12:05:32 +01:00
parent 7e52000c11
commit 1532fbf949
2 changed files with 1 additions and 2 deletions

View file

@ -227,6 +227,7 @@ namespace mapnik { namespace grammar {
("tan", tan_impl())
("atan", atan_impl())
("exp", exp_impl())
("log", log_impl())
("abs", abs_impl())
("length",length_impl())
;

View file

@ -47,7 +47,6 @@ struct exp_impl
{
return std::exp(val.to_double());
}
};
// log
@ -58,7 +57,6 @@ struct log_impl
{
return std::log(val.to_double());
}
};
// sin