mirror of
https://github.com/boostorg/compute.git
synced 2026-02-23 03:32:13 +00:00
Fix bc::valarray copy ctor
This commit is contained in:
@@ -67,6 +67,7 @@ public:
|
||||
valarray(const valarray<T> &other)
|
||||
: m_buffer(other.m_buffer.get_context(), other.size() * sizeof(T))
|
||||
{
|
||||
copy(other.begin(), other.end(), begin());
|
||||
}
|
||||
|
||||
valarray(const std::valarray<T> &valarray,
|
||||
|
||||
Reference in New Issue
Block a user