Ignore:
Timestamp:
Nov 18, 2020, 10:05:19 AM (4 years ago)
Author:
stuerze
Message:

minor changes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/BNC_2.12/src/combination/bnccomb.cpp

    r9180 r9261  
    479479  ColumnVector dV = newVV           - oldVV;
    480480  double       dC = newXC(4)        - oldXC(4);
     481
     482  // small check
     483  // -----------
     484  const double MAXDIFF = 1000.0;
     485  double diff  = dX.norm_Frobenius();
     486  double diffC = dC * t_CST::c ;
     487  if (diff  > MAXDIFF ||
     488      diffC > MAXDIFF) {
     489    return;
     490  }
    481491
    482492  ColumnVector dRAO(3);
Note: See TracChangeset for help on using the changeset viewer.