Changeset e969ab6 in git for libpolys


Ignore:
Timestamp:
Sep 30, 2011, 4:03:44 PM (13 years ago)
Author:
Burcin Erocal <burcin@…>
Branches:
(u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
Children:
a78ff8184c22e326e350a49d7b0054bffeac7433
Parents:
b7cad8c697d69578f1f58d6dff25be0213e35568
git-author:
Burcin Erocal <burcin@erocal.org>2011-09-30 16:03:44+02:00
git-committer:
Mohamed Barakat <mohamed.barakat@rwth-aachen.de>2011-11-09 16:13:53+01:00
Message:
GF coeffs now print short by default if the parameter name is < 2 chars.
Location:
libpolys/coeffs
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • libpolys/coeffs/coeffs.h

    rb7cad8c re969ab6  
    257257  short      float_len2; /* additional char-flags, rInit */
    258258
    259   BOOLEAN   ShortOut; /// ffields need this.
     259  BOOLEAN   CanShortOut; //< if the elements can be printed in short format
     260                       // this is set to FALSE if a parameter name has >2 chars
     261  BOOLEAN   ShortOut; //< if the elements should print in short format
    260262
    261263// ---------------------------------------------------
  • libpolys/coeffs/ffields.cc

    rb7cad8c re969ab6  
    824824  r->m_nfPlus1Table= NULL;
    825825
     826  if (strlen(name) > 1) {
     827    r->ShortOut = 0;
     828    r->CanShortOut = FALSE;
     829  } else {
     830    r->ShortOut = 1;
     831  }
     832
    826833  r->has_simple_Alloc=TRUE;
    827834  r->has_simple_Inverse=TRUE;
Note: See TracChangeset for help on using the changeset viewer.