You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
nix_mx does not compile under linux, I get the following compile error:
/home/jan/projects/programming/nix-mx/include/utils/mkarray.h: In instantiation of ‘typename std::enable_if<std::is_arithmetic<_Tp>::value, mxArray_tag>::type* make_mx_array(T) [with T = long long unsigned int; typename std::enable_if<std::is_arithmetic<_Tp>::value, mxArray_tag>::type = mxArray_tag]’:
/home/jan/projects/programming/nix-mx/include/utils/struct.h:43:66: required from ‘void struct_builder::set(mwIndex, int, T&&) [with T = long long unsigned int; mwIndex = long unsigned int]’
/home/jan/projects/programming/nix-mx/include/utils/struct.h:38:3: required from ‘void struct_builder::set(int, T&&) [with T = long long unsigned int]’
/home/jan/projects/programming/nix-mx/include/utils/struct.h:28:3: required from ‘void struct_builder::set(T&&) [with T = long long unsigned int]’
/home/jan/projects/programming/nix-mx/src/nixgen.cc:64:36: required from here
/home/jan/projects/programming/nix-mx/include/utils/mkarray.h:59:58: error: ‘value’ is not a member of ‘nix::to_data_type<long long unsigned int>’
DType2 dtype = dtype_nix2mex(nix::to_data_type<T>::value);
The text was updated successfully, but these errors were encountered:
It is SourceCount, which is ndsize_t(long long unsigned int) which should be 64bit unsigned, i.e. uint64_t (DataType.hpp line 161). What compiler + platform is that exactly?
nix_mx does not compile under linux, I get the following compile error:
The text was updated successfully, but these errors were encountered: