From 6991bd753e0c507c1a258384b59519f1d227cf06 Mon Sep 17 00:00:00 2001
From: Maximilian Reininghaus <maximilian.reininghaus@tu-dortmund.de>
Date: Thu, 13 May 2021 23:58:57 +0200
Subject: [PATCH] changed error code if UrQMD fails to find collision

---
 modules/urqmd/urqmd.f | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/modules/urqmd/urqmd.f b/modules/urqmd/urqmd.f
index b9951571e..32a85ef53 100644
--- a/modules/urqmd/urqmd.f
+++ b/modules/urqmd/urqmd.f
@@ -339,8 +339,8 @@ c~              stop
            endif
            if (noc.ge.50000) then
              print *,'UrQMD terminating...'
-             call exit(2) ! think of a better way to hand over the error
-                          ! to C++
+             call exit(333) ! think of a better way to hand over the error
+                            ! to C++
            endif
            goto 1
          endif
-- 
GitLab