Changeset 6879 in ntrip for trunk


Ignore:
Timestamp:
Jun 3, 2015, 5:29:34 PM (9 years ago)
Author:
stuerze
Message:

SSR VTEC: consideration of the fact that max degree and order have to be included

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/src/upload/bncrtnetuploadcaster.cpp

    r6877 r6879  
    378378            >> vtec.Layers[ll].Height;
    379379        ii++;
    380         for (unsigned iDeg = 0; iDeg < vtec.Layers[ll].Degree; iDeg++) {
    381           for (unsigned iOrd = 0; iOrd < vtec.Layers[ll].Order; iOrd++) {
     380        for (unsigned iDeg = 0; iDeg <= vtec.Layers[ll].Degree; iDeg++) {
     381          for (unsigned iOrd = 0; iOrd <= vtec.Layers[ll].Order; iOrd++) {
    382382            in >> vtec.Layers[ll].Cosinus[iDeg][iOrd];
    383383          }
    384384          ii++;
    385385        }
    386         for (unsigned iDeg = 0; iDeg < vtec.Layers[ll].Degree; iDeg++) {
    387           for (unsigned iOrd = 0; iOrd < vtec.Layers[ll].Order; iOrd++) {
     386        for (unsigned iDeg = 0; iDeg <= vtec.Layers[ll].Degree; iDeg++) {
     387          for (unsigned iOrd = 0; iOrd <= vtec.Layers[ll].Order; iOrd++) {
    388388            in >> vtec.Layers[ll].Sinus[iDeg][iOrd];
    389389          }
Note: See TracChangeset for help on using the changeset viewer.