From: <ha...@us...> - 2012-02-21 05:17:27
|
Revision: 16821 http://jmol.svn.sourceforge.net/jmol/?rev=16821&view=rev Author: hansonr Date: 2012-02-21 05:17:20 +0000 (Tue, 21 Feb 2012) Log Message: ----------- Modified Paths: -------------- trunk/Jmol/src/org/jmol/symmetry/UnitCell.java Modified: trunk/Jmol/src/org/jmol/symmetry/UnitCell.java =================================================================== --- trunk/Jmol/src/org/jmol/symmetry/UnitCell.java 2012-02-21 05:16:16 UTC (rev 16820) +++ trunk/Jmol/src/org/jmol/symmetry/UnitCell.java 2012-02-21 05:17:20 UTC (rev 16821) @@ -281,8 +281,7 @@ Bcart[4] = parBorU[4] * twoP2 * 2; Bcart[5] = parBorU[5] * twoP2 * 2; - parBorU[7] = (float) Math.pow(parBorU[0] * parBorU[1] * parBorU[3], - 0.3333); + parBorU[7] = (parBorU[0] + parBorU[1] + parBorU[3]) / 3; } else { This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |