Skip to content

Commit

Permalink
remove SparseTensor, Domain, Index
Browse files Browse the repository at this point in the history
  • Loading branch information
breznak committed Dec 8, 2018
1 parent 3d41fdc commit bfb58df
Show file tree
Hide file tree
Showing 22 changed files with 4 additions and 10,487 deletions.
8 changes: 2 additions & 6 deletions bindings/py/src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -94,16 +94,12 @@ set(src_py_engine_files
set(src_py_math_files
bindings/math/math_module.cpp
bindings/math/py_ArrayAlgo.cpp
bindings/math/py_Domain.cpp
bindings/math/py_Math.cpp
bindings/math/py_Random.cpp
bindings/math/py_reals.cpp
bindings/math/py_Set.cpp
# bindings/math/py_SparseBinaryMatrix.cpp
# bindings/math/py_SparseMatrix.cpp
bindings/math/py_SparseTensor.cpp
bindings/math/PyBindSparseTensor.hpp
bindings/math/SparseTensorIndex.hpp
bindings/math/py_SparseMatrix.cpp
)

set(src_py_test_files
Expand All @@ -127,7 +123,7 @@ source_group("test" FILES ${src_py_test_files})
if (MSVC)
set(PYBIND11_CPP_STANDARD /std:c++latest) # Enables MSVC C++17
else()
set(PYBIND11_CPP_STANDARD -std=${INTERNAL_CPP_STANDARD})
set(PYBIND11_CPP_STANDARD -std=c++11)
endif()

include_directories(${REPOSITORY_DIR}/src)
Expand Down
1 change: 1 addition & 0 deletions bindings/py/src/bindings/math/Matrix.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@ namespace nupic_ext {
{
return _matrix.unchecked<2>()(r,c);
}

else
{
auto p = (char*)_bi.ptr + (_bi.strides[0] * r) + (_bi.strides[1] * c);
Expand Down

0 comments on commit bfb58df

Please sign in to comment.