Skip to content

Commit

Permalink
Use explicit LhsSpecialization, SpecializationData and LhsNode constr…
Browse files Browse the repository at this point in the history
…uctors in md_lattice:481

Explicitly call constructors instead of direct-initialization
  • Loading branch information
p-senichenkov committed Dec 23, 2024
1 parent 4de9c79 commit b0e278d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/core/algorithms/md/hymd/lattice/md_lattice.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -478,7 +478,8 @@ class Specializer {
get_lhs_ccv_id_(std::move(get_lhs_ccv_id)),
get_nonlhs_ccv_id_(std::move(get_nonlhs_ccv_id)),
prune_nondisjoint_(prune_nondisjoint),
current_specialization_({lhs, {lhs.begin(), {}}}, rhs) {}
current_specialization_(
LhsSpecialization{lhs, SpecializationData{lhs.begin(), LhsNode{}}}, rhs) {}

void Specialize() {
if (GetLhs().Cardinality() == cardinality_limit_) {
Expand Down

0 comments on commit b0e278d

Please sign in to comment.