changeset 3266:3dee5cf16a58

Cosmetics.
author Sascha L. Teichmann <sascha.teichmann@intevation.de>
date Wed, 15 May 2019 13:05:19 +0200
parents f92f7c9df392
children b07b4cca5e34
files pkg/imports/gm.go
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/pkg/imports/gm.go	Wed May 15 13:00:28 2019 +0200
+++ b/pkg/imports/gm.go	Wed May 15 13:05:19 2019 +0200
@@ -211,7 +211,7 @@
 
 	fn := func(x *float32) {
 		if x != nil {
-			*x = scale * *x
+			*x *= scale
 		}
 	}
 	return fn, nil