@@ -232,7 +232,7 @@ void TMRegion::compute() {
232232 out = getOutput (" bottomUpOut" );
233233 // set NTA_LOG_LEVEL = htm::LogLevel::LogLevel_Verbose
234234 // to output the NTA_DEBUG statements below
235- if (out && ( out->hasOutgoingLinks () || NTA_LOG_LEVEL == LogLevel::LogLevel_Verbose) ) {
235+ if (out && out->hasOutgoingLinks () ) {
236236 SDR& sdr = out->getData ().getSDR ();
237237 tm_->getActiveCells (sdr); // active cells
238238 if (args_.orColumnOutputs ) { // output as columns
@@ -241,24 +241,24 @@ void TMRegion::compute() {
241241 NTA_DEBUG << " bottomUpOut " << *out << std::endl;
242242 }
243243 out = getOutput (" activeCells" );
244- if (out && ( out->hasOutgoingLinks () || NTA_LOG_LEVEL == LogLevel::LogLevel_Verbose) ) {
244+ if (out && out->hasOutgoingLinks () ) {
245245 tm_->getActiveCells (out->getData ().getSDR ());
246246 NTA_DEBUG << " active " << *out << std::endl;
247247 }
248248 out = getOutput (" predictedActiveCells" );
249- if (out && ( out->hasOutgoingLinks () || NTA_LOG_LEVEL == LogLevel::LogLevel_Verbose) ) {
249+ if (out && out->hasOutgoingLinks () ) {
250250 tm_->activateDendrites ();
251251 tm_->getWinnerCells (out->getData ().getSDR ());
252252 NTA_DEBUG << " winners " << *out << std::endl;
253253 }
254254 out = getOutput (" anomaly" );
255- if (out && ( out->hasOutgoingLinks () || NTA_LOG_LEVEL == LogLevel::LogLevel_Verbose) ) {
255+ if (out && out->hasOutgoingLinks () ) {
256256 Real32* buffer = reinterpret_cast <Real32*>(out->getData ().getBuffer ());
257257 buffer[0 ] = tm_->anomaly ;
258258 NTA_DEBUG << " anomaly " << *out << std::endl;
259259 }
260260 out = getOutput (" predictiveCells" );
261- if (out && ( out->hasOutgoingLinks () || NTA_LOG_LEVEL == LogLevel::LogLevel_Verbose) ) {
261+ if (out && out->hasOutgoingLinks () ) {
262262 out->getData ().getSDR () = tm_->getPredictiveCells ();
263263 NTA_DEBUG << " predictive " << *out << std::endl;
264264 }
0 commit comments