kill DEBUG constant, its not used any more
This commit is contained in:
parent
7cf8c68e15
commit
9971736a45
@ -496,7 +496,9 @@ BpSolver::converged (void)
|
||||
}
|
||||
if (residual > BpOptions::accuracy) {
|
||||
converged = false;
|
||||
if (Constants::DEBUG == 0) break;
|
||||
if (Globals::verbosity < 2) {
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
if (Globals::verbosity > 1) {
|
||||
|
@ -39,6 +39,7 @@ namespace Globals {
|
||||
|
||||
extern bool logDomain;
|
||||
|
||||
// level of debug information
|
||||
extern unsigned verbosity;
|
||||
|
||||
extern InfAlgorithms infAlgorithm;
|
||||
@ -48,9 +49,7 @@ extern InfAlgorithms infAlgorithm;
|
||||
|
||||
namespace Constants {
|
||||
|
||||
// level of debug information
|
||||
const unsigned DEBUG = 3;
|
||||
|
||||
// show message calculation for belief propagation
|
||||
const bool SHOW_BP_CALCS = false;
|
||||
|
||||
const int NO_EVIDENCE = -1;
|
||||
|
Reference in New Issue
Block a user