From 90bbda1f195b4cf940f54f7f41986e0d5d68c9ec Mon Sep 17 00:00:00 2001 From: tpoole Date: Wed, 23 Aug 2017 14:19:27 +0100 Subject: [PATCH] DSP: Added template specialisations of the Matrix class --- modules/juce_dsp/maths/juce_Matrix.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/modules/juce_dsp/maths/juce_Matrix.cpp b/modules/juce_dsp/maths/juce_Matrix.cpp index 27d2d1436e..19fa3a57a2 100644 --- a/modules/juce_dsp/maths/juce_Matrix.cpp +++ b/modules/juce_dsp/maths/juce_Matrix.cpp @@ -277,7 +277,7 @@ String Matrix::toString() const StringArray entries; int sizeMax = 0; - auto* p = data.getRawDataPointer(); + auto* p = data.begin(); for (size_t i = 0; i < rows; ++i) { @@ -306,3 +306,6 @@ String Matrix::toString() const return result.toString(); } + +template class Matrix; +template class Matrix;