| 220 | |
| 221 | template <typename Transform> |
| 222 | bha::regular<Transform>* regular_init(unsigned bin, double lower, double upper, |
| 223 | bp::str pylabel, bool with_uoflow) { |
| 224 | const auto uo = with_uoflow ? bha::uoflow_type::on : bha::uoflow_type::off; |
| 225 | return new bha::regular<Transform>( |
| 226 | bin, lower, upper, |
| 227 | {bp::extract<const char*>(pylabel)(), static_cast<std::size_t>(bp::len(pylabel))}, |
| 228 | uo); |
| 229 | } |
| 230 | |
| 231 | bha::regular<bha::transform::pow>* regular_pow_init(unsigned bin, double lower, |
| 232 | double upper, double power, |
nothing calls this directly
no outgoing calls
no test coverage detected