From 1b7ecf9f20145c14cd005b60eceac5b09d0f1b07 Mon Sep 17 00:00:00 2001 From: Robert Smith Date: Mon, 14 Sep 2026 10:56:21 +1000 Subject: [PATCH] Fix sanity checking of manual stdev in smoothing filter --- core/filter/smooth.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/filter/smooth.h b/core/filter/smooth.h index 640fb27fa2..c69c846281 100644 --- a/core/filter/smooth.h +++ b/core/filter/smooth.h @@ -105,7 +105,7 @@ namespace MR void set_stdev (const vector& std_dev) { for (size_t i = 0; i < std_dev.size(); ++i) - if (stdev[i] < 0.0) + if (std_dev[i] < 0.0) throw Exception ("the Gaussian stdev values cannot be negative"); if (std_dev.size() == 1) { for (unsigned int i = 0; i < 3; i++)