Changeset bf0f28 in git


Ignore:
Timestamp:
May 14, 2020, 12:00:21 PM (4 years ago)
Author:
Hans Schoenemann <hannes@…>
Branches:
(u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
Children:
88534e9b307008083cf06d2679d5c1d9bfd85a7d
Parents:
03cd0d95921592b8960ff606db1dc7a40991d39f
Message:
nc-CallPlural does not need a currRing
File:
1 edited

Legend:

Unmodified
Added
Removed
  • libpolys/polys/nc/old.gring.cc

    r03cd0d rbf0f28  
    27172717  assume( !((DDD != NULL) && (DDN != NULL)) ); // at most one data about tails (D).
    27182718
    2719 //  ring save = currRing;
    2720 //  if( save != curr )
    2721 //    rChangeCurrRing(curr);
    2722 
    2723 
    27242719#if OUTPUT
    27252720  if( CCC != NULL )
     
    27462741    WarnS("going to redefine the algebra structure");
    27472742
    2748 //  if( currRing != r )
    2749 //    rChangeCurrRing(r);
    2750 
    27512743  matrix CC = NULL;
    27522744  poly CN = NULL;
     
    27792771    {
    27802772      Werror("Square %d x %d  matrix expected", r->N, r->N);
    2781 
    2782 //      if( currRing != save )
    2783 //        rChangeCurrRing(save);
    27842773      return TRUE;
    27852774    }
     
    27982787    {
    27992788      Werror("Square %d x %d  matrix expected",r->N,r->N);
    2800 
    2801 //      if( currRing != save )
    2802 //        rChangeCurrRing(save);
    28032789      return TRUE;
    28042790    }
     
    28232809    {
    28242810      WerrorS("Incorrect input : zero coefficients are not allowed");
    2825 
    2826 //      if( currRing != save )
    2827 //        rChangeCurrRing(save);
    28282811      return TRUE;
    28292812    }
     
    28472830#endif
    28482831
    2849   } else
    2850   if ( (CN == NULL) && (CC != NULL) ) /* copy matrix C */
     2832  }
     2833  else if ( (CN == NULL) && (CC != NULL) ) /* copy matrix C */
    28512834  {
    28522835    /* analyze C */
     
    28812864        }
    28822865
    2883 
    28842866        if ( qN == NULL )   /* check the consistency: Cij!=0 */
    28852867        // find also illegal pN
    28862868        {
    28872869          WerrorS("Incorrect input : matrix of coefficients contains zeros in the upper triangle");
    2888 
    2889 //        if( currRing != save )
    2890 //            rChangeCurrRing(save);
    28912870          return TRUE;
    28922871        }
     
    29882967
    29892968    WerrorS("Matrix of polynomials violates the ordering condition");
    2990 
    2991 //    if( currRing != save )
    2992 //      rChangeCurrRing(save);
    29932969    return TRUE;
    29942970  }
     
    30182994
    30192995  r->ext_ref=NULL;
    3020 
    3021 //  if( currRing != save )
    3022 //    rChangeCurrRing(save);
    30232996
    30242997  return gnc_InitMultiplication(r, bSetupQuotient);
Note: See TracChangeset for help on using the changeset viewer.