All new accounts created on Gitlab now require administrator approval. If you invite any collaborators, please let Flux staff know so they can approve the accounts.

Commit 425a1de9 authored by Christopher Alfeld's avatar Christopher Alfeld

No functional changes. Just changing the debugging output slightly and

fixing a bug in the debugging output.
parent 27de539d
......@@ -186,7 +186,7 @@ int assign()
while (temp >= temp_stop) {
#ifdef VERBOSE
cout << "Temperature: " << temp << endl;
cout << "Temperature: " << temp << " AbsBest: " << absbest << " (" << absbestv << ")" << endl;
#endif
trans = 0;
accepts = 0;
......
......@@ -427,8 +427,8 @@ int add_node(node n,int ploc)
// try to find interswitch
#ifdef SCORE_DEBUG
cerr << " looking for interswitch link " <<
PG[pnoder.the_switch].name << " " <<
PG[dpnoder.the_switch].name << endl;
(pnoder.the_switch != nil?PG[pnoder.the_switch].name:string("No Switch")) << " " <<
(dpnoder.the_switch != nil?PG[dpnoder.the_switch].name:string("No Switch")) << endl;
#endif
if (find_interswitch_path(pnoder.the_switch,dpnoder.the_switch,
er->bandwidth,er->path) == 0) {
......@@ -671,7 +671,7 @@ void score_link(edge e,edge v,bool interswitch)
tb_vlink &er = G[v];
#ifdef SCORE_DEBUG
fprintf(stderr," score_link(%p)\n",e);
cerr << " score_link(" << e << ") - " << pl.name << " / " << er.name << endl;
#endif
if (! interswitch) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment