Skip to content

Commit

Permalink
bring changes into dpe benchmark
Browse files Browse the repository at this point in the history
  • Loading branch information
Kimmy Mu committed Feb 24, 2021
1 parent 5aa46b0 commit 0c7f790
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions benchmarks/dpe_bench.cc
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ int main(int argc, char **argv) {
size_t each_blob_size;
size_t total_placed_size;
double dpe_seconds;
hermes::api::Status result;
hermes::Status result;

while ((option = getopt(argc, argv, "mnor:s:")) != -1) {
switch (option) {
Expand Down Expand Up @@ -165,7 +165,7 @@ int main(int argc, char **argv) {
assert(placed_size == total_placed_size);

// Aggregate placement schemas from the same target
if (!result) {
if (!result.Succeeded()) {
for (auto it = output_tmp.begin(); it != output_tmp.end(); ++it) {
PlacementSchema schema = AggregateBlobSchema((*it));
assert(schema.size() > 0);
Expand Down

0 comments on commit 0c7f790

Please sign in to comment.