Skip to content

Commit 7ba4536

Browse files
author
thk123
committed
Fix an error
And modify another
1 parent 2373341 commit 7ba4536

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/analyses/dependence_graph.cpp

+3-2
Original file line numberDiff line numberDiff line change
@@ -312,7 +312,8 @@ void dep_graph_domaint::output(
312312
it!=control_deps.end();
313313
++it)
314314
{
315-
if(it!=control_deps.begin()) out << ",";
315+
if(it!=control_deps.begin())
316+
out << ",";
316317
out << (*it)->location_number;
317318
}
318319
out << std::endl;
@@ -357,7 +358,7 @@ void dependence_grapht::add_dep(
357358

358359
// add_edge is redundant as the subsequent operations also insert
359360
// entries into the edge maps (implicitly)
360-
//add_edge(n_from, n_to);
361+
//add_edge(n_from, n_to);asdas
361362
nodes[n_from].out[n_to].add(kind);
362363
nodes[n_to].in[n_from].add(kind);
363364
}

0 commit comments

Comments
 (0)