Changeset c5fcde in git


Ignore:
Timestamp:
May 23, 2014, 12:12:24 PM (9 years ago)
Author:
Martin Lee <martinlee84@…>
Branches:
(u'spielwiese', '8e0ad00ce244dfd0756200662572aef8402f13d5')
Children:
aa6c3f5fe49813e81b4f83d2e1c57aadd284bd61
Parents:
311dbd7ee168c47e2035bb6610892cdcc61130eb
git-author:
Martin Lee <martinlee84@web.de>2014-05-23 12:12:24+02:00
git-committer:
Martin Lee <martinlee84@web.de>2014-06-04 11:54:57+02:00
Message:
chg: asserts in cfModResultant
File:
1 edited

Legend:

Unmodified
Added
Removed
  • factory/cfModResultant.cc

    r311dbd7 rc5fcde  
    422422{
    423423  ASSERT (getCharacteristic() == 0, "characteristic > 0 expected");
     424#ifndef NOASSERT
     425  bool isRat= isOn (SW_RATIONAL);
     426  On (SW_RATIONAL);
     427  ASSERT (bCommonDen (A).isOne(), "input A is rational");
     428  ASSERT (bCommonDen (B).isOne(), "input B is rational");
     429  if (!isRat)
     430    Off (SW_RATIONAL);
     431#endif
    424432
    425433  int degAx= degree (A, x);
Note: See TracChangeset for help on using the changeset viewer.