Skip to content

Commit

Permalink
Change HY_Features constructor to use the link hydrofabric version th…
Browse files Browse the repository at this point in the history
…at works with levels.
  • Loading branch information
donaldwj authored and mattw-nws committed Aug 17, 2023
1 parent 2b8ca09 commit 2b7e89b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/NGen.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -310,11 +310,11 @@ int main(int argc, char *argv[]) {
#endif //NGEN_ROUTING_ACTIVE

std::string link_key = "toid";
#ifdef NGEN_MPI_ACTIVE
nexus_collection->link_features_from_property(nullptr, &link_key);
#ifdef NGEN_MPI_ACTIVE
hy_features::HY_Features_MPI features = hy_features::HY_Features_MPI(local_data, nexus_collection, manager, mpi_rank, mpi_num_procs);
#else
hy_features::HY_Features features = hy_features::HY_Features(catchment_collection, &link_key, manager);
hy_features::HY_Features features = hy_features::HY_Features(nexus_collection, manager);
#endif

//validate dendritic connections
Expand Down

0 comments on commit 2b7e89b

Please sign in to comment.