From 41a5c66fa62eb5f10b2c7f543190f3932e7a45d8 Mon Sep 17 00:00:00 2001 From: tillwenke Date: Sun, 12 Jan 2025 19:14:00 +0100 Subject: [PATCH] typo --- heatchmap/gpmap.py | 6 +++--- setup.py | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/heatchmap/gpmap.py b/heatchmap/gpmap.py index c9168c5..45759f7 100644 --- a/heatchmap/gpmap.py +++ b/heatchmap/gpmap.py @@ -153,16 +153,16 @@ def recalc_map(self): if len(to_predict) == self.batch_size: waiting_times, uncertainties = self.gpr.predict(np.array(to_predict), return_std=True) for i, (y, x) in enumerate(pixels_to_predict): - self.raw_raster[y][x] = waiting_time[i] + self.raw_raster[y][x] = waiting_times[i] self.uncertainties[y][x] = uncertainties[i] to_predict = [] pixels_to_predict = [] if len(to_predict) > 0: - waiting_time, uncertainties = self.gpr.predict(np.array(to_predict), return_std=True) + waiting_times, uncertainties = self.gpr.predict(np.array(to_predict), return_std=True) for i, (y, x) in enumerate(pixels_to_predict): - self.raw_raster[y][x] = waiting_time[i] + self.raw_raster[y][x] = waiting_times[i] self.uncertainties[y][x] = uncertainties[i] diff --git a/setup.py b/setup.py index a0219d9..b104caf 100644 --- a/setup.py +++ b/setup.py @@ -2,7 +2,7 @@ import setuptools -VERSION = "0.1.26" +VERSION = "0.1.27" NAME = "heatchmap"