From d59022aa16116720641a47845cf2fd2a1accaff9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Michael=20Zbyszy=C5=84ski?= <m.zbyszynski@gold.ac.uk>
Date: Fri, 6 Oct 2017 16:56:34 +0100
Subject: [PATCH] adjusting to templated class alias

---
 examples/JUCE/regression_synth/Source/MainComponent.cpp | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/examples/JUCE/regression_synth/Source/MainComponent.cpp b/examples/JUCE/regression_synth/Source/MainComponent.cpp
index 4031a85..91629a5 100644
--- a/examples/JUCE/regression_synth/Source/MainComponent.cpp
+++ b/examples/JUCE/regression_synth/Source/MainComponent.cpp
@@ -329,7 +329,7 @@ public:
 		if (KeyPress::isKeyCurrentlyDown(KeyPress::spaceKey))
 		{
 			std::vector<double> input = normaliseMouseSpace(_event.position.roundToInt(), drawingArea);
-            trainingExample<double> example;
+            trainingExample example;
 			example.input = { input[0], input[1] };
 			example.output = { modulationFrequency, modulationDepth, centreFrequency, resonance };
 			trainingSet.push_back(example);
@@ -424,8 +424,8 @@ private:
 	/*** MACHINE LEARNING ***/
 
 	// Rapid regression
-	regression<double>                   rapidRegression;
-	std::vector<trainingExample<double> > trainingSet;
+    regression                   rapidRegression;
+	std::vector<trainingExample> trainingSet;
 
 	// Program state
 	bool                         trained;
-- 
GitLab