Skip to content

Commit

Permalink
Incorrect parameter ordering in element_sub boostorg#129
Browse files Browse the repository at this point in the history
  • Loading branch information
harjot20022001 committed Dec 29, 2021
1 parent dae5364 commit b2ba867
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/boost/numeric/ublas/opencl/elementwise.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,7 @@ void element_sub(ublas::matrix<T, L1, opencl::storage> const &a,
ublas::matrix<T, L3, opencl::storage> &result,
compute::command_queue& queue)
{
element_wise(a, b, compute::minus<T>(), result, queue);
element_wise(a, b, result, compute::minus<T>(), queue);
}

template <typename T, typename L1, typename L2, typename L3, typename A>
Expand Down

0 comments on commit b2ba867

Please sign in to comment.