Changeset ab7016 in git for Singular/LIB/rootisolation.lib


Ignore:
Timestamp:
Jul 1, 2017, 4:26:54 PM (7 years ago)
Author:
Hans Schoenemann <hannes@…>
Branches:
(u'fieker-DuVal', '117eb8c30fc9e991c4decca4832b1d19036c4c65')(u'spielwiese', 'b4f17ed1d25f93d46dbe29e4b499baecc2fd51bb')
Children:
219ee5d1b31495cc7ea93d1be968e08b6b8d4a4a
Parents:
ebac9b7b80a0caff990018d44c3ca10ce66ffdc1
Message:
fix: avoid redefining newstruct
File:
1 edited

Legend:

Unmodified
Added
Removed
  • Singular/LIB/rootisolation.lib

    rebac9b rab7016  
    5151rootIsolation(I,B,e);   slims down input box B and calls rootIsolationNoPreprocessing
    5252";
     53LIB "atkins.lib"; // for round (tmp?)
    5354///////////////////////////////////////////////////////////////////////////////
    5455
     
    5657{
    5758    LIB "interval.so";
    58     LIB "atkins.lib"; // for round (tmp?)
    59 
    60     newstruct("ivmat", "list rows");
    61     system("install", "ivmat", "print", ivmatPrint,           1);
    62     system("install", "ivmat", "[",     ivmatGet,             2);
    63     system("install", "ivmat", "nrows", ivmatNrows,           1);
    64     system("install", "ivmat", "ncols", ivmatNcols,           1);
    65     system("install", "ivmat", "*",     ivmatMultiplyGeneral, 2);
     59
     60    if (!reservedName("ivmat"))
     61    {
     62      newstruct("ivmat", "list rows");
     63      system("install", "ivmat", "print", ivmatPrint,           1);
     64      system("install", "ivmat", "[",     ivmatGet,             2);
     65      system("install", "ivmat", "nrows", ivmatNrows,           1);
     66      system("install", "ivmat", "ncols", ivmatNcols,           1);
     67      system("install", "ivmat", "*",     ivmatMultiplyGeneral, 2);
     68    }
    6669}
    6770
Note: See TracChangeset for help on using the changeset viewer.