Skip to content

Commit

Permalink
chg: if variable has level LEVELBASE it has no minpoly
Browse files Browse the repository at this point in the history
  • Loading branch information
mmklee committed Aug 2, 2012
1 parent aed373c commit 4119e2d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions factory/variable.cc
Original file line number Diff line number Diff line change
Expand Up @@ -222,8 +222,8 @@ void setMipo ( const Variable & alpha, const CanonicalForm & mipo)

bool hasMipo( const Variable & alpha )
{
ASSERT( alpha.level() < 0 && alpha.level() != LEVELBASE, "illegal extension" );
return ((algextensions!=NULL) && getReduce(alpha) );
ASSERT( alpha.level() < 0, "illegal extension" );
return (alpha.level() != LEVELBASE && (algextensions!=NULL) && getReduce(alpha) );
}

bool getReduce( const Variable & alpha )
Expand Down

0 comments on commit 4119e2d

Please sign in to comment.