Open
Description
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);
Metadata
Metadata
Assignees
Labels
No labels