clang-format

This commit is contained in:
Artem Pavlenko 2024-11-08 09:56:45 +00:00
parent 3422472c7d
commit 4e59b4c7c3
2 changed files with 11 additions and 12 deletions

View file

@ -209,17 +209,17 @@ struct unary_function_types_ : x3::symbols<unary_function_impl>
{ {
unary_function_types_() unary_function_types_()
{ {
add("sin", sin_impl()) // add("sin", sin_impl()) //
("cos", cos_impl()) // ("cos", cos_impl()) //
("tan", tan_impl()) // ("tan", tan_impl()) //
("atan", atan_impl()) // ("atan", atan_impl()) //
("exp", exp_impl()) // ("exp", exp_impl()) //
("log", log_impl()) // ("log", log_impl()) //
("abs", abs_impl()) // ("abs", abs_impl()) //
("length", length_impl()) // ("length", length_impl()) //
("int", int_impl()) // ("int", int_impl()) //
("float", float_impl()) // ("float", float_impl()) //
("str", str_impl()) // ("str", str_impl()) //
; ;
} }
} const unary_func_types; } const unary_func_types;

View file

@ -107,7 +107,6 @@ struct float_impl
value_type operator()(value_type const& val) const { return val.to_double(); } value_type operator()(value_type const& val) const { return val.to_double(); }
}; };
// min // min
inline value_type min_impl(value_type const& arg1, value_type const& arg2) inline value_type min_impl(value_type const& arg1, value_type const& arg2)
{ {