File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -172,7 +172,7 @@ void SpatialPooler::setDutyCyclePeriod(UInt dutyCyclePeriod) {
172172Real SpatialPooler::getBoostStrength () const { return boostStrength_; }
173173
174174void SpatialPooler::setBoostStrength (Real boostStrength) {
175- NTA_CHECK (boostStrength == 0 .0f or boostStrength >= 1.0 ) << " Boost strength must be >= 1.0, or exactly 0.0 (=disabled). " ;
175+ NTA_CHECK (boostStrength >= 0 .0f ) ;
176176 boostStrength_ = boostStrength;
177177}
178178
@@ -421,7 +421,7 @@ void SpatialPooler::initialize(
421421 synPermConnected_ = synPermConnected;
422422 minPctOverlapDutyCycles_ = minPctOverlapDutyCycles;
423423 dutyCyclePeriod_ = dutyCyclePeriod;
424- setBoostStrength ( boostStrength) ;
424+ boostStrength_ = boostStrength;
425425 spVerbosity_ = spVerbosity;
426426 wrapAround_ = wrapAround;
427427 updatePeriod_ = 50u ;
You can’t perform that action at this time.
0 commit comments