From a1f06edbcc5d4fbe894d5f8e5c4a9d69293f3d93 Mon Sep 17 00:00:00 2001
From: "Andrew E. Torda" <torda@zbh.uni-hamburg.de>
Date: Mon, 30 May 2022 09:16:38 +0200
Subject: [PATCH] Makefile cleans up leftovers from testing in ackley.

---
 Makefile              | 2 ++
 ackley/ackley_test.go | 4 ++--
 2 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/Makefile b/Makefile
index 1dee092..71a4256 100644
--- a/Makefile
+++ b/Makefile
@@ -40,3 +40,5 @@ clean:
 	rm -rf /tmp/go.*.mod
 	rm -rf /tmp/go.*.sum
 	rm -rf ./examples/*.csv
+	rm -rf ./ackley/*delme*
+	rm -rf ./ackley/*jpg
diff --git a/ackley/ackley_test.go b/ackley/ackley_test.go
index 77bf85b..0795420 100644
--- a/ackley/ackley_test.go
+++ b/ackley/ackley_test.go
@@ -65,7 +65,7 @@ func TestAckley1d(t *testing.T) {
 	set term "jpeg"
 	set output "test1d.jpg"
 
-	plot 'test1d.dat' us 2:1 with line`
+	plot 'test1d_delme.dat' us 2:1 with line`
 	const fOutName = "test1d_delme.dat"
 	const plotNoteName = "plot1d_delme.gplt"
 	grid := grdsz{-10, 10, 500}
@@ -99,7 +99,7 @@ func TestAckley2d(t *testing.T) {
 	set term "jpeg"
 	set output "test2d.jpg"
 
-	splot 'test2d.dat' us 2:3:1 with points`
+	splot 'test2d_delme.dat' us 2:3:1 with points`
 	const fOutName = "test2d_delme.dat"
 	const plotNoteName = "plot2d_delme.gplt"
 	grid := grdsz{-5, 5, 40}
-- 
GitLab