From ec86d04dc24b580644085551d77476fb5ad93060 Mon Sep 17 00:00:00 2001
From: Matthias Frey <matthias.frey@psi.ch>
Date: Wed, 15 Jul 2020 14:08:19 +0200
Subject: [PATCH] ySigmaGenerator: fix exception text

---
 src/Distribution/SigmaGenerator.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/Distribution/SigmaGenerator.cpp b/src/Distribution/SigmaGenerator.cpp
index beb378a7e..63e861cbf 100644
--- a/src/Distribution/SigmaGenerator.cpp
+++ b/src/Distribution/SigmaGenerator.cpp
@@ -562,7 +562,7 @@ void SigmaGenerator::initialize(double nuz, double ravg)
     tmp = std::sqrt(tmp);               // [tmp] = 1/m^{2}
 
     if (a < tmp)
-        throw OpalException("Error in SigmaGenerator::initialize()",
+        throw OpalException("SigmaGenerator::initialize()",
                             "Square root of negative number.");
 
     if (h * h * nuz * nuz <= K)
-- 
GitLab