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 #330 from scottpurdy/sp-const
Browse files Browse the repository at this point in the history
Mark a bunch of SP functions const
  • Loading branch information
scottpurdy committed Jan 29, 2015
2 parents 559a69c + 46ee0e6 commit 840404e
Show file tree
Hide file tree
Showing 4 changed files with 175 additions and 167 deletions.
2 changes: 1 addition & 1 deletion src/nupic/algorithms/FlatSpatialPooler.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,7 @@ void FlatSpatialPooler::initializeFlat(
}


void FlatSpatialPooler::save(ostream& outStream)
void FlatSpatialPooler::save(ostream& outStream) const
{

SpatialPooler::save(outStream);
Expand Down
2 changes: 1 addition & 1 deletion src/nupic/algorithms/FlatSpatialPooler.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ namespace nupic {

virtual ~FlatSpatialPooler() {}

virtual void save(ostream& outStream) override;
virtual void save(ostream& outStream) const override;
virtual void load(istream& inStream) override;

virtual UInt version() const override {
Expand Down
Loading

0 comments on commit 840404e

Please sign in to comment.