Skip to content

Commit

Permalink
Bugs in RelativeComplex
Browse files Browse the repository at this point in the history
  • Loading branch information
shaunharker committed May 22, 2015
1 parent 55c9748 commit 4ee1b3d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/chomp/RelativeComplex.h
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ inline void RelativeComplex::project (Chain * output,
int D = output -> dimension () = input . dimension ();
BOOST_FOREACH ( const Term & t, input () ) {
Term s ( cellToIndex ( t . index (), D ), t . coef () );
if ( s == size ( D ) ) continue;
if ( s . index () == size ( D ) ) continue;
* output += s;
}
*output = simplify ( *output );
Expand Down

0 comments on commit 4ee1b3d

Please sign in to comment.