GeomConverter/src/org/lcsim/units/clhep
diff -u -r1.1 -r1.2
--- Constants.java 9 Apr 2007 19:31:57 -0000 1.1
+++ Constants.java 6 Dec 2008 00:24:57 -0000 1.2
@@ -70,13 +70,13 @@
private void setupPhysicalConstants()
{
- PhysicalConstants units = new PhysicalConstants();
- Class<SystemOfUnits> klass = SystemOfUnits.class;
+ PhysicalConstants physc = new PhysicalConstants();
+ Class<PhysicalConstants> klass = PhysicalConstants.class;
Field[] fields = klass.getFields();
for (Field f : fields)
{
try {
- constantsMap.put(f.getName(), f.getDouble(units));
+ constantsMap.put(f.getName(), f.getDouble(physc));
}
catch ( IllegalAccessException x )
{