Skip to content

Commit ef948c4

Browse files
committed
remove a console.log or two
1 parent 0196ac3 commit ef948c4

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/algorithms/controllers/DFSrec.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -108,11 +108,11 @@ export default {
108108
if (c_nodes_etc[PAR][c_n] === unassigned ||
109109
c_nodes_etc[PAR][c_n] === c_p ||
110110
c_nodes_etc[PAR][c_p] === c_n) {
111-
console.log(['finalised Edge', c_n, c_p]);
111+
// console.log(['finalised Edge', c_n, c_p]);
112112
vis.graph.removeEdgeColor(c_p-1, c_n-1);
113113
vis.graph.colorEdge(c_p-1, c_n-1, colors.FINALISED_E);
114114
} else { // reset to frontier
115-
console.log(['Still frontier edge', c_n, c_p]);
115+
// console.log(['Still frontier edge', c_n, c_p]);
116116
vis.graph.removeEdgeColor(c_p-1, c_n-1);
117117
vis.graph.colorEdge(c_p-1, c_n-1, colors.FRONTIER_E);
118118
}

src/algorithms/controllers/prim.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -317,7 +317,7 @@ export default {
317317
// sum all numbers in finalCosts array
318318
totalCost = finalCosts.reduce((acc, el) =>
319319
(isNumber(el)? acc + el: acc), 0);
320-
console.log(['totalCost', totalCost]);
320+
// console.log(['totalCost', totalCost]);
321321
chunker.add(
322322
3,
323323
(vis, v, c_miniIndex, c_cV, c_m, c_totalCost) => {

0 commit comments

Comments
 (0)