Skip to content
This repository has been archived by the owner on Sep 1, 2023. It is now read-only.

Commit

Permalink
Merge pull request #277 from breznak/small_fix
Browse files Browse the repository at this point in the history
fix "update SHA" issue with nupic
  • Loading branch information
rhyolight committed Dec 30, 2014
2 parents e5c042c + d01080e commit 08731c8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/nupic/algorithms/SpatialPooler.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1560,13 +1560,13 @@ void SpatialPooler::write(SpatialPoolerProto::Builder& proto)
proto.setNumColumns(numColumns_);

auto columnDims = proto.initColumnDimensions(columnDimensions_.size());
for (int i = 0; i < columnDimensions_.size(); ++i)
for (UInt i = 0; i < columnDimensions_.size(); ++i)
{
columnDims.set(i, columnDimensions_[i]);
}

auto inputDims = proto.initInputDimensions(inputDimensions_.size());
for (int i = 0; i < inputDimensions_.size(); ++i)
for (UInt i = 0; i < inputDimensions_.size(); ++i)
{
inputDims.set(i, inputDimensions_[i]);
}
Expand Down
2 changes: 1 addition & 1 deletion src/nupic/types/Exception.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ namespace nupic
*
* @retval [const Byte *] the exception message
*/
virtual const char * what() const throw() override
virtual const char * what() const throw()
{
try
{
Expand Down

0 comments on commit 08731c8

Please sign in to comment.