Changeset 7251 in ntrip for trunk/BNC/src/pppModel.cpp


Ignore:
Timestamp:
Aug 24, 2015, 5:56:41 PM (9 years ago)
Author:
stuerze
Message:

minor changes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/src/pppModel.cpp

    r7246 r7251  
    397397  // Latitude, longitude, height are defined with respect to a spherical earth model
    398398  // -------------------------------------------------------------------------------
    399   ColumnVector geocSta;
    400   xyz2geoc(xyzSta.data(), geocSta.data());
     399  ColumnVector geocSta(3);
     400  if (xyz2geoc(xyzSta.data(), geocSta.data()) != success) {
     401    return 0.0;
     402  }
    401403
    402404  // satellite position rotated to the epoch of signal reception
    403405  // -----------------------------------------------------------
    404   ColumnVector xyzSat;
     406  ColumnVector xyzSat(3);
    405407  double omegaZ = t_CST::omega * signalPropagationTime;
    406408  xyzSat[0] = rSat[0] * cos(omegaZ) + rSat[1] * sin(omegaZ);
Note: See TracChangeset for help on using the changeset viewer.