SWIG error translating size_t to unsigned int creating redefinition to the latter type
SWIG error translating size_t to unsigned int creating redefinition to the latter type

Known problem and solution: See nupic/py/bindings/algorithms/algorithms_impl.i   around line 1000
// Already seen by swig on linux32 where size_t is the same size as unsigned int
%template(Size_T_Vector) std::vector<size_t>;

The error comes from a different point. Suggestion is to wrap in the nupic/lang/common/engine_internal_common.i  the

%template(Dimset) std::vector<size_t>;

in an #ifndef

//32bit fix
%template(Dimset) std::vector<size_t>;

breznak/nupic,breznak/nupic,breznak/nupic