expression grammara - add log
function
This commit is contained in:
parent
7e52000c11
commit
1532fbf949
2 changed files with 1 additions and 2 deletions
|
@ -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())
|
||||
;
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue