Changeset 13366d in git for libpolys/polys/monomials


Ignore:
Timestamp:
Apr 20, 2011, 5:56:26 PM (13 years ago)
Author:
Oleksandr Motsak <motsak@…>
Branches:
(u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
Children:
c5412f9a6a13ab8833d5cbe0867056162b572292
Parents:
dd693af15271046d17b3936568ad7f4e972fe37a
git-author:
Oleksandr Motsak <motsak@mathematik.uni-kl.de>2011-04-20 17:56:26+02:00
git-committer:
Mohamed Barakat <mohamed.barakat@rwth-aachen.de>2011-11-09 12:31:22+01:00
Message:
FIX: rSetISReference
FIX: sca should not rely on kNF/sca_bba for the time being => commented out
Location:
libpolys/polys/monomials
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • libpolys/polys/monomials/ring.cc

    rdd693a r13366d  
    1414#include <omalloc/omalloc.h>
    1515#include <misc/options.h>
    16 #include <misc/intvec.h>
    1716#include <polys/monomials/ring.h>
    1817#include <polys/monomials/p_polys.h>
     
    27332732
    27342733
    2735 bool rSetISReference(const ideal F, const int i, const int p, const intvec * componentWeights, const ring r);
    2736 
    2737 
    27382734/*2
    27392735 * create a copy of the ring r, which must be equivalent to currRing
     
    29492945          ideal F = idrHeadR(r->typ[i].data.is.F, r, res); // Copy F from r into res!
    29502946          assume(
    2951             rSetISReference(
     2947            rSetISReference( res,
    29522948              F,  // WILL BE COPIED!
    29532949              r->typ[i].data.is.limit,
    29542950              j++,
    2955               r->typ[i].data.is.componentWeights, // WILL BE COPIED
    2956               res)
     2951              r->typ[i].data.is.componentWeights // WILL BE COPIED
     2952              )
    29572953            );
    29582954          id_Delete(&F, res);
     
    49424938/// We will use it AS IS!
    49434939/// returns true is everything was allright!
    4944 bool rSetISReference(const ideal F, const ring r,const int i = 0, const int p = 0, const intvec * componentWeights = NULL)
     4940BOOLEAN rSetISReference(const ring r, const ideal F, const int i, const int p, const intvec * componentWeights)
    49454941{
    49464942  // Put the reference set F into the ring -ordering -recor
     
    49574953  {
    49584954    dReportError("Error: WRONG USE of rSetISReference: wrong ring! (typ == NULL)");
    4959     return false;
     4955    return FALSE;
    49604956  }
    49614957
     
    49664962  {
    49674963    dReportError("Error: WRONG USE of rSetISReference: specified ordering block was not found!!!" );
    4968     return false;
     4964    return FALSE;
    49694965  }
    49704966
     
    50135009#endif
    50145010
    5015   return true;
     5011  return TRUE;
    50165012}
    50175013
  • libpolys/polys/monomials/ring.h

    rdd693a r13366d  
    1010
    1111/* includes */
     12#include <omalloc/omalloc.h>
     13#include <misc/auxiliary.h>
    1214#include <coeffs/coeffs.h>
    13 #include <omalloc/omalloc.h>
    1415//#include <polys/monomials/polys-impl.h>
    1516//
     
    664665//
    665666
     667BOOLEAN rSetISReference(const ring r, const ideal F, const int i = 0, const int p = 0, const intvec * componentWeights = NULL);
     668
    666669BOOLEAN rCheckIV(intvec *iv);
    667670int rTypeOfMatrixOrder(intvec * order);
Note: See TracChangeset for help on using the changeset viewer.