Due to the current gap in continued funding from the U.S. National Science Foundation (NSF), the NSF Unidata Program Center has temporarily paused most operations. See NSF Unidata Pause in Most Operations for details.

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: