We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents ffbd6c4 + 8aa54a4 commit 7043c12Copy full SHA for 7043c12
include/chaiscript/extras/math.hpp
@@ -10,7 +10,6 @@ namespace chaiscript {
10
template<typename Ret, typename Param>
11
ModulePtr cos(ModulePtr m = std::make_shared<Module>())
12
{
13
- m->add(chaiscript::fun([](Param p){ return std::cos(p); }), "cos");
14
m->add(chaiscript::fun([](Param p){ return std::cos(p); }), "cos");
15
return m;
16
}
0 commit comments