Changeset a4f307a in git


Ignore:
Timestamp:
Dec 7, 2000, 4:42:30 PM (23 years ago)
Author:
Olaf Bachmann <obachman@…>
Branches:
(u'spielwiese', '828514cf6e480e4bafc26df99217bf2a1ed1ef45')
Children:
85e36d429ea8f1e1eceecf82cc718ab7088ba8af
Parents:
9514c1b9e6fedc1e68404517fdcb4b2a9424e272
Message:
* update prCopy stuff


git-svn-id: file:///usr/local/Singular/svn/trunk@4836 2c84dea3-7e68-4137-9b89-c4e89433aadc
Location:
Singular
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • Singular/extra.cc

    r9514c1 ra4f307a  
    22*  Computer Algebra System SINGULAR      *
    33*****************************************/
    4 /* $Id: extra.cc,v 1.150 2000-11-13 14:50:21 levandov Exp $ */
     4/* $Id: extra.cc,v 1.151 2000-12-07 15:42:30 obachman Exp $ */
    55/*
    66* ABSTRACT: general interface to internals of Singular ("system" command)
     
    627627#include "mpsr.h"
    628628
     629#include "mod_raw.h"
    629630   
    630631static BOOLEAN jjEXTENDED_SYSTEM(leftv res, leftv h)
  • Singular/prCopyMacros.h

    r9514c1 ra4f307a  
    3333#undef PR_NUMBER_SIMPLE_NAME
    3434#if PR_NUMBER_SIMPLE > 0
    35 #define PR_NCOPY(n) n
     35#define PR_NCOPY(n, r) n
    3636#define PR_NDELETE(n, r) ((void)0)
    3737#define PR_NUMBER_SIMPLE_NAME NSimple
    3838#else
    39 #define PR_NCOPY(n) nCopy(n)
    40 #define PR_NDELETE(n, r) nDelete(n)
     39#define PR_NCOPY(n, r) n_Copy(n,r)
     40#define PR_NDELETE(n, r) n_Delete(n,r)
    4141#define PR_NUMBER_SIMPLE_NAME NoNSimple
    4242#endif
  • Singular/prCopyTemplate.cc

    r9514c1 ra4f307a  
    22*  Computer Algebra System SINGULAR     *
    33****************************************/
    4 /* $Id: prCopyTemplate.cc,v 1.4 2000-11-03 14:50:23 obachman Exp $ */
     4/* $Id: prCopyTemplate.cc,v 1.5 2000-12-07 15:42:30 obachman Exp $ */
    55/*
    66* ABSTRACT - templates for pr routines
     
    2020    pNext(dest) = (poly) PR_ALLOC_MONOM(r_dest);
    2121    pIter(dest);
    22     pSetCoeff0(dest, PR_NCOPY(pGetCoeff(src)));
     22    pSetCoeff0(dest, PR_NCOPY(pGetCoeff(src), r_src));
    2323    PR_CPY_EVECTOR(dest, r_dest, src, r_src);
    2424    tmp = pNext(src);
Note: See TracChangeset for help on using the changeset viewer.