We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a7ff6a0 commit c4dedb9Copy full SHA for c4dedb9
1 file changed
dwave/optimization/src/nodes/numbers.cpp
@@ -72,6 +72,11 @@ struct NumberNodeStateData : public ArrayNodeStateData {
72
: ArrayNodeStateData(std::move(input)),
73
bound_axes_sums(std::move(bound_axes_sums)),
74
prior_bound_axes_sums(this->bound_axes_sums) {}
75
+
76
+ std::unique_ptr<NodeStateData> copy() const override {
77
+ return std::make_unique<NumberNodeStateData>(*this);
78
+ }
79
80
/// For each bound axis and for each slice along said axis, we track the
81
/// sum of the values within the slice.
82
/// bound_axes_sums[i][j] = "sum of the values within the jth slice along
0 commit comments