Skip to content
Snippets Groups Projects
Commit e86a21e3 authored by Wuttke, Joachim's avatar Wuttke, Joachim
Browse files

use it

parent 2380d160
No related branches found
No related tags found
1 merge request!1582minor cleanup
...@@ -35,7 +35,7 @@ namespace { ...@@ -35,7 +35,7 @@ namespace {
std::unique_ptr<Datafield> initUserWeights(const Datafield& shape, double value) std::unique_ptr<Datafield> initUserWeights(const Datafield& shape, double value)
{ {
auto result = std::make_unique<Datafield>(shape.frame().clonedAxes()); auto result = std::make_unique<Datafield>(shape.frame().clone());
result->setAllTo(value); result->setAllTo(value);
return result; return result;
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment