Changeset 1319


Ignore:
Timestamp:
03/01/07 20:56:05 (18 years ago)
Author:
mar637
Message:

Fix for Ticket #99; if etapp>0 and d>0 don't look up telescope

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/STMath.cpp

    r1318 r1319  
    906906    scaleByVector(tab,factors, false);
    907907  } else if ( etaap > 0.0) {
    908     Instrument inst =
    909       STAttr::convertInstrument(tab.keywordSet().asString("AntennaName"), True);
    910     STAttr sda;
    911     if (d < 0) d = sda.diameter(inst);
     908    if (d < 0) {
     909      Instrument inst =
     910        STAttr::convertInstrument(tab.keywordSet().asString("AntennaName"),
     911                                  True);
     912      STAttr sda;
     913      d = sda.diameter(inst);
     914    }
    912915    jyperk = STAttr::findJyPerK(etaap, d);
    913916    ostringstream oss;
Note: See TracChangeset for help on using the changeset viewer.