From: <ha...@us...> - 2012-02-16 00:26:12
|
Revision: 16806 http://jmol.svn.sourceforge.net/jmol/?rev=16806&view=rev Author: hansonr Date: 2012-02-16 00:26:06 +0000 (Thu, 16 Feb 2012) Log Message: ----------- version=12.3.16_dev # bug fix: print [2, 3, 4].mul([3,4,5]) fails Modified Paths: -------------- trunk/Jmol/src/org/jmol/script/ScriptMathProcessor.java trunk/Jmol/src/org/jmol/viewer/Jmol.properties Modified: trunk/Jmol/src/org/jmol/script/ScriptMathProcessor.java =================================================================== --- trunk/Jmol/src/org/jmol/script/ScriptMathProcessor.java 2012-02-16 00:25:33 UTC (rev 16805) +++ trunk/Jmol/src/org/jmol/script/ScriptMathProcessor.java 2012-02-16 00:26:06 UTC (rev 16806) @@ -1760,7 +1760,7 @@ if (isScalar) { scalar = x2; } else if (x2.tok == Token.varray) { - len = Math.min(list1.length, alist2.size()); + len = Math.min(len, alist2.size()); } else { sList2 = TextFormat.split((String) x2.value, "\n"); list2 = new float[sList2.length]; Modified: trunk/Jmol/src/org/jmol/viewer/Jmol.properties =================================================================== --- trunk/Jmol/src/org/jmol/viewer/Jmol.properties 2012-02-16 00:25:33 UTC (rev 16805) +++ trunk/Jmol/src/org/jmol/viewer/Jmol.properties 2012-02-16 00:26:06 UTC (rev 16806) @@ -3,8 +3,10 @@ version=12.3.16_dev +# bug fix: print [2, 3, 4].mul([3,4,5]) fails # bug fix: missing ANISOU records cause file-read error in PDB files # bug fix: JCAMP-DX reading by JSpecView for tiered BLOCK files + # ============================================================================= #version=12.3.15 This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |