Changeset 80f8f6c in git


Ignore:
Timestamp:
Feb 23, 2016, 2:11:24 AM (7 years ago)
Author:
jgmbenoit <quatermaster@…>
Branches:
(u'jengelh-datetime', 'ceac47cbc86fe4a15902392bdbb9bd2ae0ea02c6')(u'spielwiese', 'a800fe4b3e9d37a38c5a10cc0ae9dfa0c15a4ee6')
Children:
ca5f5ec50e7d7e43e956e80b9cff948d8a89ee55
Parents:
50c6c2f123ea605b5992f5784cb7c48542819afa
Message:
correct spelling errors as detected by Lintian
Files:
35 edited

Legend:

Unmodified
Added
Removed
  • IntegerProgramming/Buchberger.cc

    r50c6c2f r80f8f6c  
    14911491    first_iter.set_to_list(aux_list);
    14921492    found=0;
    1493     // no reduction occured yet
     1493    // no reduction occurred yet
    14941494
    14951495    while(first_iter.is_at_end()==FALSE)
     
    16071607    first_iter.set_to_list(new_generators);
    16081608    found=0;
    1609     // no reduction occured yet
     1609    // no reduction occurred yet
    16101610
    16111611    while(first_iter.element_is_marked_head_reduced()==FALSE)
     
    20572057    first_iter.set_to_list(generators);
    20582058    found=0;
    2059     // no reduction occured yet
     2059    // no reduction occurred yet
    20602060
    20612061    while(first_iter.element_is_marked_head_reduced()==FALSE)
  • IntegerProgramming/ideal.h

    r50c6c2f r80f8f6c  
    119119  // -1 indicates a "semantic" error (which occurs e.g. if some constructor
    120120  //    argument is out of range)
    121   // -2 indicates an error occured when reading from a file
     121  // -2 indicates an error occurred when reading from a file
    122122  // -3 indicates an overflow of an integer type variable
    123123
  • IntegerProgramming/matrix.h

    r50c6c2f r80f8f6c  
    3838  // -1 indicates a "semantic" error (which occurs e.g. if some constructor
    3939  //    argument is out of range)
    40   // -2 indicates an error occured when reading from a file
     40  // -2 indicates an error occurred when reading from a file
    4141
    4242  Integer **coefficients;
     
    5151  // the number of vectors stored in H (the size of these vectors is columns)
    5252  // If _kernel_dimension==-2, no kernel basis has been computed yet.
    53   // If _kernel_dimension==-1, an error has occured during the kernel basis
     53  // If _kernel_dimension==-1, an error has occurred during the kernel basis
    5454  // computation.
    5555
  • IntegerProgramming/term_ordering.h

    r50c6c2f r80f8f6c  
    5151  // -1 indicates a "semantic" error (arguments out of range, for example a
    5252  //    negative number of variables);
    53   // -2 indicates an error occured when reading from a file.
     53  // -2 indicates an error occurred when reading from a file.
    5454
    5555  short weighted_ordering;
  • Singular/LIB/decodegb.lib

    r50c6c2f r80f8f6c  
    860860@format
    861861        - y is a (code) word,
    862         - pos = positions where errors occured,
     862        - pos = positions where errors occurred,
    863863        - val = their corresponding values
    864864@end format
  • Singular/LIB/equising.lib

    r50c6c2f r80f8f6c  
    17661766  dbprint(i_print,"// ");
    17671767
    1768   if (M[2]==1) // error occured during esStratum computation
    1769   {
    1770     print("Some error has occured during the computation");
     1768  if (M[2]==1) // error occurred during esStratum computation
     1769  {
     1770    print("Some error has occurred during the computation");
    17711771    return(list(0,0));
    17721772  }
     
    19151915          equimultiple sections through the non-nodes of the reduced total
    19161916          transform are trivial sections
    1917   l[2]=1 if some error has occured,  l[2]=0 otherwise;
     1917  l[2]=1 if some error has occurred,  l[2]=0 otherwise;
    19181918@end format
    19191919or consisting of a ring and an integer, where
     
    19221922        (describing the ES-stratum), the ideal ES_all_triv (describing the
    19231923        part with trival equimultiple sections) and the polynomial p_F=F,
    1924   l[2]=1 if some error has occured,  l[2]=0 otherwise.
     1924  l[2]=1 if some error has occurred,  l[2]=0 otherwise.
    19251925@end format
    19261926NOTE:    L is supposed to be the output of hnexpansion (with the given ordering
  • Singular/LIB/groups.lib

    r50c6c2f r80f8f6c  
    941941         input ideal devided by the part of the content which have
    942942         prime factors less then 32003.
    943          l[2] contains the prime numbers which occured in the division
     943         l[2] contains the prime numbers which occurred in the division
    944944EXAMPLE: example contentS; shows an example
    945945"
  • Singular/LIB/hnoether.lib

    r50c6c2f r80f8f6c  
    28822882                              1  if change of base ring necessary
    28832883               third entry = numbers of conjugates ( if essential = 1 )
    2884         if some error has occured, the empty list is returned
     2884        if some error has occurred, the empty list is returned
    28852885"
    28862886{
  • Singular/LIB/hyperel.lib

    r50c6c2f r80f8f6c  
    468468         if there is an optional parameter s!=0, then divisor additonally
    469469         returns a parameter, which says, whether irreducible polynomials
    470          occured during computations or not. Otherwise only warnings are
     470         occurred during computations or not. Otherwise only warnings are
    471471         displayed on the monitor. For s=0 nothing happens.
    472472         Curve C: y^2+h(x)y=f(x) is defined over basering.
     
    665665   D2,s2=divisor(D[2],1,h,f,1);
    666666
    667    // Only if irreducible polynomials occured in D1 !and! D2 a warning
     667   // Only if irreducible polynomials occurred in D1 !and! D2 a warning
    668668   // is necessary.
    669669   if (s1==1 and s2==1)
  • Singular/LIB/presolve.lib

    r50c6c2f r80f8f6c  
    939939   if( n == 0 )
    940940   {
    941       dbprint( pr,"","// no variable occured in "+typeof(id)+", no change of ring!");
     941      dbprint( pr,"","// no variable occurred in "+typeof(id)+", no change of ring!");
    942942      return(id);
    943943   }
  • Singular/LIB/reesclos.lib

    r50c6c2f r80f8f6c  
    216216    else
    217217    {
    218      "// Compute the closure up to the maximal power of t that occured:",pow;
     218     "// Compute the closure up to the maximal power of t that occurred:",pow;
    219219    }
    220220  }
  • Singular/LIB/resolve.lib

    r50c6c2f r80f8f6c  
    38913891         l[1][i] is a ring containing a basic object BO, the result of the
    38923892         resolution.
    3893          l[2] contains all rings which occured during the resolution process
     3893         l[2] contains all rings which occurred during the resolution process
    38943894NOTE:    result may be viewed in a human readable form using presentTree()
    38953895EXAMPLE: example resolve;  shows an example
  • Singular/LIB/tropical.lib

    r50c6c2f r80f8f6c  
    597597        // note: it may happen, that when resubstituting PARA into
    598598        //       the replacement rules
    599         //       there occured some unexpected cancellation;
     599        //       there occurred some unexpected cancellation;
    600600        //       we only know that for SOME
    601601        //       solution of the zero-dimensional reduction NO
  • Singular/dyn_modules/pyobject/pyobject.cc

    r50c6c2f r80f8f6c  
    239239    PyErr_Fetch(&pType, &pMessage, &pTraceback);
    240240
    241     WerrorS("pyobject error occured");
     241    WerrorS("pyobject error occurred");
    242242    WerrorS(PyString_AsString(pMessage));
    243243
  • Singular/emacs.cc

    r50c6c2f r80f8f6c  
    8888  error("YOU HAVE FOUND A BUG IN SINGULAR.\n"
    8989"Please, email the following output to singular@mathematik.uni-kl.de\n"
    90 "Bug occured at %s:%d\n"
     90"Bug occurred at %s:%d\n"
    9191"Message: %s\n"
    9292"Version: " S_UNAME VERSION __DATE__ __TIME__,
  • Singular/iparith.cc

    r50c6c2f r80f8f6c  
    64046404    ((unsigned long)pTotaldegree(monomexpr) > (currRing->bitmask / (unsigned long)pTotaldegree(p)/2)))
    64056405    {
    6406       Warn("possible OVERFLOW in subst, max exponent is %ld, subtituting deg %d by deg %d",currRing->bitmask/2, pTotaldegree(monomexpr), pTotaldegree(p));
     6406      Warn("possible OVERFLOW in subst, max exponent is %ld, substituting deg %d by deg %d",currRing->bitmask/2, pTotaldegree(monomexpr), pTotaldegree(p));
    64076407      //return TRUE;
    64086408    }
  • Singular/ipid.cc

    r50c6c2f r80f8f6c  
    633633      case LANG_C:        return "object";   break;
    634634      case LANG_NONE:     return "none";     break;
    635       default:            return "unknow language";
     635      default:            return "unknown language";
    636636    }
    637637  }
  • Singular/iplib.cc

    r50c6c2f r80f8f6c  
    919919  if(yylp_errno)
    920920  {
    921     Werror("Library %s: ERROR occured: in line %d, %d.", newlib, yylplineno,
     921    Werror("Library %s: ERROR occurred: in line %d, %d.", newlib, yylplineno,
    922922         current_pos(0));
    923923    if(yylp_errno==YYLP_BAD_CHAR)
  • Singular/libparse.cc

    r50c6c2f r80f8f6c  
    35223522  if(yylp_errno)
    35233523  {
    3524     printf("ERROR occured: [%d] ", yylp_errno);
     3524    printf("ERROR occurred: [%d] ", yylp_errno);
    35253525    printf(yylp_errlist[yylp_errno], yylplineno);
    35263526    printf("\n");
  • Singular/libparse.ll

    r50c6c2f r80f8f6c  
    981981  if(yylp_errno)
    982982  {
    983     printf("ERROR occured: [%d] ", yylp_errno);
     983    printf("ERROR occurred: [%d] ", yylp_errno);
    984984    printf(yylp_errlist[yylp_errno], yylplineno);
    985985    printf("\n");
  • Singular/walk_ip.cc

    r50c6c2f r80f8f6c  
    141141
    142142        case WalkOverFlowError:
    143           Werror( "Overflow occured.\n");
     143          Werror( "Overflow occurred.\n");
    144144          destIdeal= NULL;
    145145          break;
     
    158158//Responsible for contact between user and walk64. Checks the
    159159//input-data, and calls fractalWalk64. Returns the new groebner
    160 //basis or something else if an error occured.
     160//basis or something else if an error occurred.
    161161///////////////////////////////////////////////////////////////////
    162162//Uses: omAlloc0,fractalWalkConsistency,omFreeSize,sizeof,IDIDEAL,
     
    261261
    262262        case WalkOverFlowError:
    263             Werror( "Overflow occured in ring %s.\n", first->Name() );
     263            Werror( "Overflow occurred in ring %s.\n", first->Name() );
    264264            rChangeCurrRing(destRing);
    265265            destIdeal= NULL;
  • factory/ChangeLog

    r50c6c2f r80f8f6c  
    920920Fri Sep 26 12:54:41 1997  Jens Schmidt  <schmidt@mathematik.uni-kl.de>
    921921
    922         * cf_assert.h: prints the function now where the assrtion occured if
     922        * cf_assert.h: prints the function now where the assrtion occurred if
    923923          we are translating with gcc
    924924
  • factory/facHensel.cc

    r50c6c2f r80f8f6c  
    772772/// solve \f$ 1=\sum_{i=1}^n{\delta_{i} \prod_{j\neq i}{f_j}} \f$ mod \f$p^k\f$
    773773/// over \f$ Q(\alpha) \f$ by first computing mod \f$p\f$ and if no zero divisor
    774 /// occured compute it mod \f$p^k\f$
     774/// occurred compute it mod \f$p^k\f$
    775775CFList
    776776diophantineQa (const CanonicalForm& F, const CanonicalForm& G,
  • kernel/linear_algebra/interpolation.cc

    r50c6c2f r80f8f6c  
    12251225     {
    12261226#ifdef writemsg
    1227         PrintS("wrong number of generators occured");
     1227        PrintS("wrong number of generators occurred");
    12281228#else
    12291229        if (protocol) PrintS("ng");
     
    12511251         {
    12521252#ifdef writemsg
    1253             PrintS("wrong leading term occured");
     1253            PrintS("wrong leading term occurred");
    12541254#else
    12551255            if (protocol) PrintS("lt");
     
    12661266         {
    12671267#ifdef writemsg
    1268             PrintS("wrong seq of cols occured");
     1268            PrintS("wrong seq of cols occurred");
    12691269#else
    12701270            if (protocol) PrintS("sc");
  • kernel/mod2.h

    r50c6c2f r80f8f6c  
    186186       makes sure that all poly operations in your file are done with
    187187       PDEBUG == 2
    188  To break after an error occured, set a debugger breakpoint on
     188 To break after an error occurred, set a debugger breakpoint on
    189189 dErrorBreak.
    190190*/
     
    250250   Some tips on possible values of OM_TRACK, OM_CHECK, OM_KEEP:
    251251   + To find out about an address that has been freed twice, first locate the
    252      file(s) where the error occured, and then at the beginning of these files:
     252     file(s) where the error occurred, and then at the beginning of these files:
    253253       #define OM_CHECK 3
    254254       #define OM_TRACK 5
     
    258258     Under dynamic scope, do (e.g., from within the debugger):
    259259       om_Opts.MinCheck = 3; om_Opts.MinTrack = 5; omOpts.Keep = LONG_MAX;
    260    + to find out where "memory corruption" occured, increase value of
     260   + to find out where "memory corruption" occurred, increase value of
    261261     OM_CHECK - the higher this value is, the more consistency checks are
    262262     done (However a value > 3 checks the entire memory each time an omalloc
     
    280280     defined, then the "real" alloc/realloc/free macros are used, and all
    281281     omTest, omDebug and omCheck routines are undefined
    282    + to break after an omError occured within a debugger,
     282   + to break after an omError occurred within a debugger,
    283283     set a breakpoint on dErrorBreak
    284284   + to do checks from within the debugger, or to do checks with explicit
  • kernel/numeric/mpr_base.cc

    r50c6c2f r80f8f6c  
    302302   * The v-distance is the distance along the direction v to boundary of
    303303   * Minkowski Sum of Qi (here vector v is represented by shift[]).
    304    * Returns the v-distance or -1.0 if an error occured.
     304   * Returns the v-distance or -1.0 if an error occurred.
    305305   */
    306306  mprfloat vDistance( Coord_t * acoords, int dim );
  • libpolys/coeffs/bigintmat.h

    r50c6c2f r80f8f6c  
    273273    void extendCols (int i);
    274274
    275     bool add(bigintmat *b); ///< Addiert zur Matrix die Matrix b dazu. Return false => an error occured
     275    bool add(bigintmat *b); ///< Addiert zur Matrix die Matrix b dazu. Return false => an error occurred
    276276    bool sub(bigintmat *b); ///< Subtrahiert ...
    277277    bool skalmult(number b, coeffs c); ///< Multipliziert zur Matrix den Skalar b hinzu
  • libpolys/misc/auxiliary.h.in

    r50c6c2f r80f8f6c  
    221221       makes sure that all poly operations in your file are done with
    222222       PDEBUG == 2
    223  To break after an error occured, set a debugger breakpoint on
     223 To break after an error occurred, set a debugger breakpoint on
    224224 dErrorBreak.
    225225*/
     
    285285   Some tips on possible values of OM_TRACK, OM_CHECK, OM_KEEP:
    286286   + To find out about an address that has been freed twice, first locate the
    287      file(s) where the error occured, and then at the beginning of these files:
     287     file(s) where the error occurred, and then at the beginning of these files:
    288288       #define OM_CHECK 3
    289289       #define OM_TRACK 5
     
    293293     Under dynamic scope, do (e.g., from within the debugger):
    294294       om_Opts.MinCheck = 3; om_Opts.MinTrack = 5; omOpts.Keep = LONG_MAX;
    295    + to find out where "memory corruption" occured, increase value of
     295   + to find out where "memory corruption" occurred, increase value of
    296296     OM_CHECK - the higher this value is, the more consistency checks are
    297297     done (However a value > 3 checks the entire memory each time an omalloc
     
    315315     defined, then the "real" alloc/realloc/free macros are used, and all
    316316     omTest, omDebug and omCheck routines are undefined
    317    + to break after an omError occured within a debugger,
     317   + to break after an omError occurred within a debugger,
    318318     set a breakpoint on dErrorBreak
    319319   + to do checks from within the debugger, or to do checks with explicit
  • libpolys/polys/nc/old.gring.cc

    r50c6c2f r80f8f6c  
    30903090  if (nc_CallPlural(r->GetNC()->C, r->GetNC()->D, NULL, NULL, res, bSetupQuotient, true, true, r))
    30913091  {
    3092     WarnS("Error occured while coping/setuping the NC structure!"); // No reaction!???
     3092    WarnS("Error occurred while coping/setuping the NC structure!"); // No reaction!???
    30933093    return true; // error
    30943094  }
  • libpolys/polys/pDebug.cc

    r50c6c2f r80f8f6c  
    5151  fprintf(stderr, "\n// ***dPolyReportError: ");
    5252  vfprintf(stderr, fmt, ap);
    53   fprintf(stderr, "\n occured at\n");
     53  fprintf(stderr, "\n occurred at\n");
    5454  omPrintCurrentBackTraceMax(stderr, 8);
    5555  if (p != NULL)
    5656  {
    57     fprintf(stderr, " occured for poly: ");
     57    fprintf(stderr, " occurred for poly: ");
    5858    p_wrp(p, r);
    5959    omPrintAddrInfo(stderr, p, " ");
  • libpolys/reporter/dError.cc

    r50c6c2f r80f8f6c  
    5959#if !defined(OM_NDEBUG)
    6060  #ifdef omPrintCurrentBackTraceMax
    61   fprintf(stderr, " occured at: \n");
     61  fprintf(stderr, " occurred at: \n");
    6262  omPrintCurrentBackTraceMax(stderr, 8);
    6363  #endif
  • libpolys/reporter/reporter.h

    r50c6c2f r80f8f6c  
    109109extern int dReportError(const char* fmt, ...);
    110110#define dReportBug(s) \
    111   dReportError("Bug reported: %s\n occured at %s,%d\n", s, __FILE__, __LINE__)
     111  dReportError("Bug reported: %s\n occurred at %s,%d\n", s, __FILE__, __LINE__)
    112112
    113113// this is just a dummy procedure which is called after the error
  • omalloc/omDebug.h

    r50c6c2f r80f8f6c  
    180180  if (_status && (_status != omError_MaxError))                               \
    181181  {                                                                           \
    182     _omPrintAddrInfo(stderr, _status, addr, bin_size, flags, 10, "  occured for"); \
     182    _omPrintAddrInfo(stderr, _status, addr, bin_size, flags, 10, "  occurred for"); \
    183183    return _status;                                                           \
    184184  }                                                                           \
  • omalloc/omDebugCheck.c

    r50c6c2f r80f8f6c  
    410410  om_CallErrorHook = 1;
    411411
    412   _omPrintAddrInfo(stderr, error, addr, bin_size, flags, 10, " occured for");
     412  _omPrintAddrInfo(stderr, error, addr, bin_size, flags, 10, " occurred for");
    413413  om_Opts.ErrorHook();
    414414
  • omalloc/omError.c

    r50c6c2f r80f8f6c  
    115115    {
    116116#ifndef OM_NDEBUG
    117       fprintf(stderr, "\n occured at: ");
     117      fprintf(stderr, "\n occurred at: ");
    118118      if (! _omPrintCurrentBackTrace(stderr, OM_FLR_VAL))
    119119        fprintf(stderr, " ??");
Note: See TracChangeset for help on using the changeset viewer.