numenta / nupic.research

Experimental algorithms. Unsupported.
https://nupicresearch.readthedocs.io
GNU Affero General Public License v3.0
107 stars 60 forks source link

Python3 error in projects/location_layer/single_layer_2d_experiment/logging.py #660

Closed fcr closed 5 months ago

fcr commented 5 months ago

projects/location_layer/single_layer_2d_experiment/logging.py Line 223:

activeColumn = cell / self.inputLayer.cellsPerColumn

should read:

activeColumn = cell // self.inputLayer.cellsPerColumn

mrcslws commented 5 months ago

Nice catch! There were a bunch of these in the Python 2 -> 3 transition, looks like I still missed a few.