Changeset 81422c in git for Singular


Ignore:
Timestamp:
Apr 27, 1998, 12:19:04 PM (26 years ago)
Author:
Wilfred Pohl <pohl@…>
Branches:
(u'spielwiese', '2fa36c576e6a4ddbb1093b43c7f8e9835e17e52a')
Children:
2e7c66199551d62cc2ce30673c92dccfa59cc814
Parents:
d751cfce70a8a2899f4913a228f1455242106ae1
Message:
bug for Metrowerks in hGetpure


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

Legend:

Unmodified
Added
Removed
  • Singular/hutil.cc

    rd751cf r81422c  
    22*  Computer Algebra System SINGULAR     *
    33****************************************/
    4 /* $Id: hutil.cc,v 1.6 1998-04-07 17:51:02 Singular Exp $ */
     4/* $Id: hutil.cc,v 1.7 1998-04-27 10:19:04 pohl Exp $ */
    55/*
    66* ABSTRACT: Utilities for staircase operations
     
    993993}
    994994
    995 
     995/*
     996* a bug in Metrowerks with "lifetime analysis"
     997*scmon hGetpure(scmon p)
     998*{
     999*  scmon p1, pn;
     1000*  p1 = p + 1;
     1001*  pn = p1 + pVariables;
     1002*  memcpy(pn, p1, pVariables * sizeof(Exponent_t));
     1003*  return pn - 1;
     1004*}
     1005*/
    9961006scmon hGetpure(scmon p)
    9971007{
    998   scmon p1, pn;
    999   p1 = p + 1;
    1000   pn = p1 + pVariables;
     1008  scmon p1 = p;
     1009  scmon pn;
     1010  p1++;
     1011  pn = p1;
     1012  pn += pVariables;
    10011013  memcpy(pn, p1, pVariables * sizeof(Exponent_t));
    10021014  return pn - 1;
    10031015}
    10041016
    1005 
Note: See TracChangeset for help on using the changeset viewer.