2
0
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:
Jakub Szuppe
2017-04-18 20:59:54 +02:00
parent 6de7f64487
commit dadfc113bd

View File

@@ -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,