Skip to content

Commit

Permalink
#2171: Update LBDataHolder's constructor to pupulate user_per_phase_j…
Browse files Browse the repository at this point in the history
…son_
  • Loading branch information
JacobDomagala committed Oct 24, 2023
1 parent 6b7d21a commit d72f1a1
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/vt/vrt/collection/balance/lb_data_holder.cc
Original file line number Diff line number Diff line change
Expand Up @@ -370,6 +370,13 @@ LBDataHolder::LBDataHolder(nlohmann::json const& j)
}
}
}

auto userDefined = phase["user_defined"];
if(!userDefined.empty()){
user_per_phase_json_[phase] = std::make_shared<nlohmann::json>();
*(user_per_phase_json_[phase]) = userDefined;
}

}
}

Expand Down

0 comments on commit d72f1a1

Please sign in to comment.