IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Dec 7, 2017, 6:21:30 AM (9 years ago)
Author:
eugene
Message:

fixes for 64-bit int vectors

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branches/ohana.20170822/src/opihi/cmd.data/uniqpair.c

    r40174 r40254  
    5555
    5656  // storage for the output and count vectors
     57  int D_NOUT = 0.02*ID1vec->Nelements;
     58
    5759  int Nout = 0;
    58   int NOUT = 10000;
     60  int NOUT = D_NOUT;
    5961  ResetVector (OUTvec, OPIHI_INT, NOUT);
    6062  if (CNTvec) {
     
    9496  for (int i = 0; (i < ID1vec->Nelements) && !interrupt; Nout++) {
    9597    if (Nout >= NOUT) {
    96       NOUT += 10000;
     98      NOUT += D_NOUT;
    9799      REALLOCATE (vtgt, opihi_int, NOUT);
    98100      if (CNTvec) {
Note: See TracChangeset for help on using the changeset viewer.