- Timestamp:
- Oct 23, 2018, 9:24:10 AM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/src/upload/bncrtnetuploadcaster.cpp
r8499 r8508 424 424 425 425 while (true) { 426 rtnClk.ReSize(3); 427 for (int ii = 0; ii < 3; ii++) { 428 rtnClk[ii] = 0.0; 429 } 430 rtnClkSig.ReSize(3); 431 for (int ii = 0; ii < 3; ii++) { 432 rtnClkSig[ii] = 0.0; 433 } 434 rtnVel.ReSize(3); 435 rtnCoM.ReSize(3); 426 436 QString key; 427 437 int numVal = 0; … … 443 453 } 444 454 else if (key == "Clk") { 445 rtnClk.ReSize(3);446 for (int ii = 0; ii < 3; ii++) {447 rtnClk[ii] = 0.0;448 }449 455 in >> numVal; 450 456 for (int ii = 0; ii < numVal; ii++) { … … 453 459 } 454 460 else if (key == "ClkSig") { 455 rtnClkSig.ReSize(3);456 for (int ii = 0; ii < 3; ii++) {457 rtnClkSig[ii] = 0.0;458 }459 461 in >> numVal; 460 462 for (int ii = 0; ii < numVal; ii++) { … … 463 465 } 464 466 else if (key == "Vel") { 465 rtnVel.ReSize(3);466 467 in >> numVal; 467 468 for (int ii = 0; ii < numVal; ii++) { … … 470 471 } 471 472 else if (key == "CoM") { 472 rtnCoM.ReSize(3);473 473 in >> numVal; 474 474 for (int ii = 0; ii < numVal; ii++) { … … 514 514 } 515 515 } 516 516 517 517 518 struct ClockOrbit::SatData* sd = 0;
Note:
See TracChangeset
for help on using the changeset viewer.