[noci] STUFF

parent 8e4421cc
Pipeline #63709 failed with stages
in 120 minutes
......@@ -44,7 +44,8 @@ public:
auto ClassId = Common::to_camel_case(class_id);
auto ClassName = Common::to_camel_case(class_id + "_" + grid_id);
bound_type c(m, ClassName.c_str(), std::string(ClassId + "( " + grid_id + " variant)").c_str());
const std::string doc{ClassId + "( " + grid_id + " variant)"};
bound_type c(m, ClassName.c_str(), doc.c_str());
c.def(py::init([](GridProvider<G>& grid_provider, const double& volume) {
return std::make_unique<type>(grid_provider.grid(), volume, 1.);
}),
......
......@@ -48,7 +48,7 @@ public:
{
namespace py = pybind11;
using namespace pybind11::literals;
const int dim = type::GridType::dimension;
constexpr const int dim = type::GridType::dimension;
const std::string class_name = class_id + "_" + grid_id;
const auto ClassName = XT::Common::to_camel_case(class_name);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment