From e1abac681ddbf8afc3e2083a8cda1c8fd79d0942 Mon Sep 17 00:00:00 2001 From: Noah Dayan Date: Tue, 23 Jan 2018 10:56:05 +0000 Subject: [PATCH] Fixed typos in juce_SIMDRegister.h --- modules/juce_dsp/containers/juce_SIMDRegister.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/juce_dsp/containers/juce_SIMDRegister.h b/modules/juce_dsp/containers/juce_SIMDRegister.h index 9aee34d1e2..6377de5297 100644 --- a/modules/juce_dsp/containers/juce_SIMDRegister.h +++ b/modules/juce_dsp/containers/juce_SIMDRegister.h @@ -165,7 +165,7 @@ struct SIMDRegister /** Subtracts another SIMDRegister to the receiver. */ inline SIMDRegister& JUCE_VECTOR_CALLTYPE operator-= (SIMDRegister v) noexcept { value = NativeOps::sub (value, v.value); return *this; } - /** Subtracts another SIMDRegister to the receiver. */ + /** Multiplies another SIMDRegister to the receiver. */ inline SIMDRegister& JUCE_VECTOR_CALLTYPE operator*= (SIMDRegister v) noexcept { value = CmplxOps::mul (value, v.value); return *this; } //============================================================================== @@ -218,7 +218,7 @@ struct SIMDRegister /** Returns a vector where each element is the difference of the corresponding element in the receiver and the scalar s.*/ inline SIMDRegister JUCE_VECTOR_CALLTYPE operator- (ElementType s) const noexcept { return { NativeOps::sub (value, CmplxOps::expand (s)) }; } - /** Returns a vector where each element is the difference of the corresponding element in the receiver and the scalar s.*/ + /** Returns a vector where each element is the product of the corresponding element in the receiver and the scalar s.*/ inline SIMDRegister JUCE_VECTOR_CALLTYPE operator* (ElementType s) const noexcept { return { CmplxOps::mul (value, CmplxOps::expand (s)) }; } //==============================================================================