Changeset 9306b5d in git for kernel/pInline2.h


Ignore:
Timestamp:
Jun 22, 2006, 2:08:58 PM (18 years ago)
Author:
Hans Schönemann <hannes@…>
Branches:
(u'spielwiese', '2a584933abf2a2d3082034c7586d38bb6de1a30a')
Children:
5be91d49996f480db9208d07f3b70a23a7ca67b7
Parents:
e4f20d2615e238a260bac37b747a2eab40caeae9
Message:
*hannes: avoid some PLURAL tests


git-svn-id: file:///usr/local/Singular/svn/trunk@9254 2c84dea3-7e68-4137-9b89-c4e89433aadc
File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/pInline2.h

    re4f20d r9306b5d  
    77 *  Author:  obachman (Olaf Bachmann)
    88 *  Created: 8/00
    9  *  Version: $Id: pInline2.h,v 1.3 2004-09-28 16:04:45 Singular Exp $
     9 *  Version: $Id: pInline2.h,v 1.4 2006-06-22 12:08:58 Singular Exp $
    1010 *******************************************************************/
    1111#ifndef PINLINE2_H
     
    494494  {
    495495    poly last;
    496 #ifdef HAVE_PLURAL
    497     if (rIsPluralRing(r))
    498       return nc_pp_Mult_mm(p, m, r, last);
    499 #endif
    500496    return r->p_Procs->pp_Mult_mm(p, m, r, last);
    501497  }
     
    508504    return p_Mult_nn(p, pGetCoeff(m), r);
    509505  else
    510 #ifdef HAVE_PLURAL
    511     if (rIsPluralRing(r))
    512       return nc_p_Mult_mm(p, m, r);
    513 #endif
    514506    return r->p_Procs->p_Mult_mm(p, m, r);
    515507}
     
    596588  if (pNext(q) == NULL)
    597589  {
    598 #ifdef HAVE_PLURAL
    599     if (rIsPluralRing(r))
    600       p = nc_p_Mult_mm(p, q, r);
    601     else
    602 #endif /* HAVE_PLURAL */
    603       p = r->p_Procs->p_Mult_mm(p, q, r);
     590    p = r->p_Procs->p_Mult_mm(p, q, r);
    604591
    605592    r->p_Procs->p_Delete(&q, r);
     
    631618  if (pNext(q) == NULL)
    632619  {
    633 #ifdef HAVE_PLURAL
    634     if (rIsPluralRing(r))
    635       return nc_p_Mult_mm(p_Copy(p,r), q, r);
    636 #endif
    637620    return r->p_Procs->pp_Mult_mm(p, q, r, last);
    638621  }
Note: See TracChangeset for help on using the changeset viewer.