From echatellier@users.forge.codelutin.com Wed Nov 23 22:17:39 2016
From: echatellier@users.forge.codelutin.com
To: isis-fish-data-commits@list.isis-fish.org
Subject: [Isis-fish-data-commits] r393 - trunk/exports
Date: Wed, 23 Nov 2016 22:17:36 +0100
Message-ID: <20161123211736.DEC4F5DE6AD@goh.codelutin.com>
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="===============0303219929464209427=="

--===============0303219929464209427==
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: quoted-printable

Author: echatellier
Date: 2016-11-23 22:17:35 +0100 (Wed, 23 Nov 2016)
New Revision: 393

Url: http://forge.codelutin.com/projects/isis-fish-data/repository/revisions/=
393

Log:
Correction de l'export de rejet

Modified:
   trunk/exports/RejetsPoids.java

Modified: trunk/exports/RejetsPoids.java
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/exports/RejetsPoids.java	2016-11-23 21:15:37 UTC (rev 392)
+++ trunk/exports/RejetsPoids.java	2016-11-23 21:17:35 UTC (rev 393)
@@ -107,8 +107,8 @@
     public void export(SimulationStorage simulation, TimeStep step, Writer o=
ut) throws Exception {
         for (Population pop : simulation.getParameter().getPopulations()) {
             MatrixND mat =3D simulation.getResultStorage().getMatrix(step, p=
op, MatrixDiscardsWeightPerStrMetPerZonePop.NAME);
-            mat =3D mat.sumOverDim(0); //sum on strategy
             if (mat !=3D null) {
+                mat =3D mat.sumOverDim(0); //sum on strategy
                 for (MatrixIterator i =3D mat.iterator(); i.hasNext();) {
                     i.next();
                     Object[] sems =3D i.getSemanticsCoordinates();


--===============0303219929464209427==--


