Skip to content

Commit 7e10615

Browse files
authored
Merge pull request #955 from fcr/setPhases
Removed the limit on the number of phases
2 parents 9cb1410 + 1485072 commit 7e10615

File tree

2 files changed

+1
-5
lines changed

2 files changed

+1
-5
lines changed

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
v2.1.15
1+
v2.1.16

src/htm/engine/Network.cpp

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -208,10 +208,6 @@ void Network::setPhases_(Region *r, std::set<UInt32> &phases) {
208208
// with a phase much greater than the phase of any other
209209
// region. This sanity check catches such problems,
210210
// though it should arguably be legal to set any phase.
211-
if (maxNewPhase - nextPhase > 3)
212-
NTA_THROW << "Attempt to set phase of " << maxNewPhase
213-
<< " when expected next phase is " << nextPhase
214-
<< " -- this is probably an error.";
215211

216212
phaseInfo_.resize(maxNewPhase + 1);
217213
}

0 commit comments

Comments
 (0)