summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/cosmomc/errorstop.patch
blob: b23e925daf68fe430f5db6b033bda15464f92471 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- a/camb/constants.f90
+++ b/camb/constants.f90
@@ -87,7 +87,7 @@
         global_error_message=''
     end if
     if (present(id)) then
-        if (id==0) error stop('Error id must be non-zero')
+        if (id==0) error stop
         global_error_flag=id
     else
         global_error_flag=-1