Changeset a0a9f0 in git
- Timestamp:
- Sep 27, 2011, 5:29:21 PM (12 years ago)
- Branches:
- (u'spielwiese', '828514cf6e480e4bafc26df99217bf2a1ed1ef45')
- Children:
- c7aad03a695808dc3f5aaaa108a93dbc905bf922
- Parents:
- 6f6b9df159c9c68abfcfe9d2008f357892b7191a
- git-author:
- Burcin Erocal <burcin@erocal.org>2011-09-27 17:29:21+02:00
- git-committer:
- Mohamed Barakat <mohamed.barakat@rwth-aachen.de>2011-11-09 16:13:38+01:00
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
libpolys/polys/ext_fields/transext.cc
r6f6b9d ra0a9f0 830 830 fraction f = (fraction)a; 831 831 // stole logic from napWrite from kernel/longtrans.cc of legacy singular 832 BOOLEAN omitBrackets = p_IsConstant(NUM(f), ntRing) && DENIS1(f);832 BOOLEAN omitBrackets = p_IsConstant(NUM(f), ntRing); 833 833 if (!omitBrackets) StringAppendS("("); 834 834 p_String0(NUM(f), ntRing, ntRing); … … 837 837 { 838 838 StringAppendS("/"); 839 StringAppendS("("); 839 omitBrackets = p_IsConstant(DEN(f), ntRing); 840 if (!omitBrackets) StringAppendS("("); 840 841 p_String0(DEN(f), ntRing, ntRing); 841 StringAppendS(")");842 if (!omitBrackets) StringAppendS(")"); 842 843 } 843 844 }
Note: See TracChangeset
for help on using the changeset viewer.