Oblynx / HierarchicalTemporalMemory.jl

A simple, high-level Julia implementation of Numenta HTM algorithms
https://oblynx.github.io/HierarchicalTemporalMemory.jl
MIT License
21 stars 3 forks source link

rowval for potential SparseVector #22

Open Oblynx opened 5 years ago

Oblynx commented 5 years ago

https://github.com/Oblynx/htm.jl/blob/421036ce9ee16eb4c6241b8ccf788a4f624daa95/src/dynamical_systems.jl#L240

.rowval is used, which is dangerous as the array slice could potentially be a SparseVector and not a SparseMatrixCSC