From 0b78a0f81f0e9703ca8ca4a999a4058562f61eaf Mon Sep 17 00:00:00 2001
From: cpav <cpav@VINDRI-D17205.win.dtu.dk>
Date: Thu, 28 Apr 2016 13:56:39 +0200
Subject: [PATCH] bug fixed in the function int_envelope

---
 wetb/prepost/Simulations.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/wetb/prepost/Simulations.py b/wetb/prepost/Simulations.py
index 732b03df..75610151 100755
--- a/wetb/prepost/Simulations.py
+++ b/wetb/prepost/Simulations.py
@@ -4942,7 +4942,7 @@ class Cases(object):
             upper = np.concatenate((np.array([ch1[indmax:],ch2[indmax:]]).T,\
                             np.array([ch1[:indmin+1],ch2[:indmin+1]]).T),axis=0)
         else:
-            upper = np.array([ch1[indmax:indmin+1,:],ch2[indmax:indmin+1,:]]).T
+            upper = np.array([ch1[indmax:indmin+1],ch2[indmax:indmin+1]]).T
             lower = np.concatenate((np.array([ch1[indmin:],ch2[indmin:]]).T,\
                                 np.array([ch1[:indmax+1],ch2[:indmax+1]]).T),axis=0)
                                 
-- 
GitLab