Ignore:
Timestamp:
Nov 18, 2020, 10:03:51 AM (3 months ago)
Author:
stuerze
Message:

minor changes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/src/combination/bnccomb.cpp

    r9259 r9260  
    470470  ColumnVector dV = newVV           - oldVV;
    471471  double       dC = newXC(4)        - oldXC(4);
     472
     473  // small check
     474  // -----------
     475  const double MAXDIFF = 1000.0;
     476  double diff  = dX.NormFrobenius();
     477  double diffC = dC * t_CST::c ;
     478  if (diff  > MAXDIFF ||
     479      diffC > MAXDIFF) {
     480    return;
     481  }
    472482
    473483  ColumnVector dRAO(3);
Note: See TracChangeset for help on using the changeset viewer.