diff --git a/OMP45Stream.cpp b/OMP45Stream.cpp index f849c39..8f684e2 100644 --- a/OMP45Stream.cpp +++ b/OMP45Stream.cpp @@ -70,7 +70,7 @@ void OMP45Stream::copy() template void OMP45Stream::mul() { - const T scalar = 0.3; + const T scalar = startScalar; unsigned int array_size = this->array_size; T *b = this->b; @@ -99,7 +99,7 @@ void OMP45Stream::add() template void OMP45Stream::triad() { - const T scalar = 0.3; + const T scalar = startScalar; unsigned int array_size = this->array_size; T *a = this->a;