Skip to content

Commit

Permalink
[LIB]: fixing wrong order value
Browse files Browse the repository at this point in the history
  • Loading branch information
Nowres RAFID committed Oct 3, 2011
1 parent 5b2e948 commit cb46b83
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/polynome.c
Original file line number Diff line number Diff line change
Expand Up @@ -31,15 +31,15 @@ polynome_t* create_polynome ( void )
polynome_t *poly;
if ( (poly = malloc ( sizeof *poly )) ) {
poly->first = NULL;
poly->order = 0;
poly->order = -1;
}
return poly;
}

void init_polynome ( polynome_t *poly )
{
poly->first = NULL;
poly->order = 0;
poly->order = -1;
}


Expand Down

0 comments on commit cb46b83

Please sign in to comment.