Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compile error in bulk_operate.cpp in Linux Mint 19 #405

Open
iricchi opened this issue Oct 3, 2018 · 0 comments
Open

Compile error in bulk_operate.cpp in Linux Mint 19 #405

iricchi opened this issue Oct 3, 2018 · 0 comments

Comments

@iricchi
Copy link

iricchi commented Oct 3, 2018

~/FlashX/matrix/bulk_operate.cpp: In instantiation of ‘OutType fm::basic_uops_impl<InType, OutType>::uop_abs::operator()(const InType&) const [with InType = long unsigned int; OutType = long unsigned int]’:

~/FlashX/matrix/bulk_operate_impl.h:47:18: required from ‘void fm::bulk_uoperate_impl<OpType, InType, OutType>::runA(size_t, const void*, void*) const [with OpType = fm::basic_uops_impl<long unsigned int, long unsigned int>::uop_abs; InType = long unsigned int; OutType = long unsigned int; size_t = long unsigned int]’

~/FlashX/matrix/bulk_operate.cpp:87:29: error: call of overloaded ‘abs(const long unsigned int&)’ is ambiguous
return (OutType) std::abs(e);

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant