NOTICE: This version of the NSF Unidata web site (archive.unidata.ucar.edu) is no longer being updated.
Current content can be found at unidata.ucar.edu.

To learn about what's going on, see About the Archive Site.

very small bug in ScaledUnit.java

Steve,

ScaledUnit
{
    .
    .
    .
  Unit divideInto( DerivedUnit that )
  {
    return new ScaledUnit( 1.0/amount, (ScaledUnit)that.divide(derivedUnit));

    ** should be...
  
    return new ScaledUnit( 1.0/amount, (DerivedUnit)that.divide(derivedUnit));

  }
    .
    .
    .
}

Can you double check that this is correct? 

Thanks,

TomR

  • 1998 messages navigation, sorted by:
    1. Thread
    2. Subject
    3. Author
    4. Date
    5. ↑ Table Of Contents
  • Search the visad archives: