Changeset 227b7e in git for dyn_modules


Ignore:
Timestamp:
Feb 17, 2012, 4:47:35 PM (12 years ago)
Author:
Oleksandr Motsak <motsak@…>
Branches:
(u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
Children:
98c9729eb3e7d8dbe8cbfa1932442589173c8270
Parents:
0917a96a030a7739d993364ed5f3603a542ee163
git-author:
Oleksandr Motsak <motsak@mathematik.uni-kl.de>2012-02-17 16:47:35+01:00
git-committer:
Oleksandr Motsak <motsak@mathematik.uni-kl.de>2012-02-23 20:35:10+01:00
Message:
fix syzextra dynamic module usage output
File:
1 edited

Legend:

Unmodified
Added
Removed
  • dyn_modules/syzextra/mod_main.cc

    r0917a96 r227b7e  
    336336  }
    337337
    338   WerrorS("`system(\"leadmonom\",<poly/vector>)` expected");
     338  WerrorS("`leadmonom(<poly/vector>)` expected");
    339339  return TRUE;
    340340}
     
    364364  }
    365365
    366   WerrorS("`system(\"leadcomp\",<poly/vector>)` expected");
     366  WerrorS("`leadcomp(<poly/vector>)` expected");
    367367  return TRUE;
    368368}
     
    402402  }
    403403
    404   WerrorS("`system(\"leadrawexp\",<poly/vector>)` expected");
     404  WerrorS("`leadrawexp(<poly/vector>)` expected");
    405405  return TRUE;
    406406}
     
    435435    if( s != -1 && s != 1 )
    436436    {
    437       WerrorS("`system(\"MakeInducedSchreyerOrdering\",<int>)` called with wrong integer argument (must be +-1)!");
     437      WerrorS("`MakeInducedSchreyerOrdering(<int>)` called with wrong integer argument (must be +-1)!");
    438438      return TRUE;
    439439    }
     
    459459  if( !rIsSyzIndexRing(r) )
    460460  {
    461     WerrorS("`system(\"SetSyzComp\",<int>)` called on incompatible ring (not created by 'MakeSyzCompOrdering'!)");
     461    WerrorS("`SetSyzComp(<int>)` called on incompatible ring (not created by 'MakeSyzCompOrdering'!)");
    462462    return TRUE;
    463463  }
     
    495495  if( (-1 == pos) )
    496496  {
    497     WerrorS("`system(\"GetInducedData\",[int])` called on incompatible ring (not created by 'MakeInducedSchreyerOrdering'!)");
     497    WerrorS("`GetInducedData([int])` called on incompatible ring (not created by 'MakeInducedSchreyerOrdering'!)");
    498498    return TRUE;
    499499  }
     
    544544  if( !( (h!=NULL) && ( (h->Typ()==IDEAL_CMD) || (h->Typ()==MODUL_CMD))) )
    545545  {
    546     WerrorS("`system(\"SetInducedReferrence\",<ideal/module>, [int[, int]])` expected");
     546    WerrorS("`SetInducedReferrence(<ideal/module>, [int[, int]])` expected");
    547547    return TRUE;
    548548  }
     
    574574  if( (-1 == posIS) )
    575575  {
    576     WerrorS("`system(\"SetInducedReferrence\",<ideal/module>, [int[, int]])` called on incompatible ring (not created by 'MakeInducedSchreyerOrdering'!)");
     576    WerrorS("`SetInducedReferrence(<ideal/module>, [int[, int]])` called on incompatible ring (not created by 'MakeInducedSchreyerOrdering'!)");
    577577    return TRUE;
    578578  }
     
    586586
    587587
    588 //    F = system("ISUpdateComponents", F, V, MIN );
     588//    F = ISUpdateComponents( F, V, MIN );
    589589//    // replace gen(i) -> gen(MIN + V[i-MIN]) for all i > MIN in all terms from F!
    590590static BOOLEAN ISUpdateComponents(leftv res, leftv h)
     
    614614  }
    615615
    616   WerrorS("`system(\"ISUpdateComponents\",<module>, intvec, int)` expected");
     616  WerrorS("`ISUpdateComponents(<module>, intvec, int)` expected");
    617617  return TRUE;
    618618}
     
    626626  if ( !( (h!=NULL) && (h->Typ()==VECTOR_CMD || h->Typ()==POLY_CMD) ) )
    627627  {
    628     WerrorS("`system(\"reduce_syz\",<poly/vector>!, <ideal/module>, <int>, [int])` expected");
     628    WerrorS("`reduce_syz(<poly/vector>!, <ideal/module>, <int>, [int])` expected");
    629629    return TRUE;
    630630  }
     
    636636  if ( !( (h!=NULL) && (h->Typ()==MODUL_CMD || h->Typ()==IDEAL_CMD ) ) )
    637637  {
    638     WerrorS("`system(\"reduce_syz\",<poly/vector>, <ideal/module>!, <int>, [int])` expected");
     638    WerrorS("`reduce_syz(<poly/vector>, <ideal/module>!, <int>, [int])` expected");
    639639    return TRUE;
    640640  }
     
    646646  if ( !( (h!=NULL) && (h->Typ()== INT_CMD)  ) )
    647647  {
    648     WerrorS("`system(\"reduce_syz\",<poly/vector>, <ideal/module>, <int>!, [int])` expected");
     648    WerrorS("`reduce_syz(<poly/vector>, <ideal/module>, <int>!, [int])` expected");
    649649    return TRUE;
    650650  }
     
    674674  if( (!isSyz) && (-1 == posIS) )
    675675  {
    676     WerrorS("`system(\"idPrepare\",<...>)` called on incompatible ring (not created by 'MakeSyzCompOrdering' or 'MakeInducedSchreyerOrdering'!)");
     676    WerrorS("`idPrepare(<...>)` called on incompatible ring (not created by 'MakeSyzCompOrdering' or 'MakeInducedSchreyerOrdering'!)");
    677677    return TRUE;
    678678  }
     
    680680  if ( !( (h!=NULL) && (h->Typ()==MODUL_CMD) && (h->Data() != NULL) ) )
    681681  {
    682     WerrorS("`system(\"idPrepare\",<module>)` expected");
     682    WerrorS("`idPrepare(<module>)` expected");
    683683    return TRUE;
    684684  }
     
    756756  if ( !( (h!=NULL) && (h->Typ()==POLY_CMD) && (h->Data() != NULL) ) )
    757757  {
    758     WerrorS("`system(\"p_Content\",<poly-var>)` expected");
     758    WerrorS("`p_Content(<poly-var>)` expected");
    759759    return TRUE;
    760760  }
Note: See TracChangeset for help on using the changeset viewer.