Index: lutinmatrix/src/java/org/codelutin/math/matrix/gui/MatrixPanelEditor.java diff -u lutinmatrix/src/java/org/codelutin/math/matrix/gui/MatrixPanelEditor.java:1.2 lutinmatrix/src/java/org/codelutin/math/matrix/gui/MatrixPanelEditor.java:1.3 --- lutinmatrix/src/java/org/codelutin/math/matrix/gui/MatrixPanelEditor.java:1.2 Fri Apr 8 12:28:16 2005 +++ lutinmatrix/src/java/org/codelutin/math/matrix/gui/MatrixPanelEditor.java Wed Oct 5 20:25:05 2005 @@ -23,9 +23,9 @@ * Created: 4 nov. 2004 * * @author Benjamin Poussin -* @version $Revision: 1.2 $ +* @version $Revision: 1.3 $ * -* Mise a jour: $Date: 2005/04/08 12:28:16 $ +* Mise a jour: $Date: 2005/10/05 20:25:05 $ * par : $Author: bpoussin $ */ @@ -149,7 +149,7 @@ * @param column La colonnes */ public void setValueAt(Object obj, int row, int column) { - double val = 0; + float val = 0; if (m.getNbDim() == 1){ val = m.getValue(column); @@ -159,9 +159,9 @@ } try{ - val = Double.parseDouble((String)obj); + val = Float.parseFloat((String)obj); }catch(Exception eee){ - Logger.getLogger(getClass().getName() + ".setValueAt").log(Level.FINE, "La nouvelle valeur n'est pas convertible en double: " + obj, eee); + Logger.getLogger(getClass().getName() + ".setValueAt").log(Level.FINE, "La nouvelle valeur n'est pas convertible en float: " + obj, eee); } if (m.getNbDim() == 1){