Skip to content

Commit

Permalink
Fixes #289 (#292)
Browse files Browse the repository at this point in the history
  • Loading branch information
reedacartwright committed Jan 5, 2019
1 parent ff2e50f commit 387354d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/relationship_graph.cc
Expand Up @@ -1062,7 +1062,7 @@ void dng::RelationshipGraph::CreatePeelingOps(
auto it = boost::find_if(family_edges, [&](edge_t x) -> bool {
return (edge_types(x) != EdgeType::Spousal);
});
size_t num_spousal_edges = distance(family_edges.begin(), it);
size_t num_spousal_edges = std::distance(family_edges.begin(), it);

// Check to see what type of graph we have
if (num_spousal_edges == 0) {
Expand Down

0 comments on commit 387354d

Please sign in to comment.