Skip to content

Commit

Permalink
Fix format string for tprintf
Browse files Browse the repository at this point in the history
The format string expected two double / int pairs, but there is only
one float and one int argument.

Signed-off-by: Stefan Weil <[email protected]>
  • Loading branch information
stweil committed Mar 17, 2016
1 parent 6b82002 commit 92c02a7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion wordrec/associate.h
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ struct AssociateStats {
}

void Print() {
tprintf("AssociateStats: w(%g %d) s(%g %d)\n", shape_cost, bad_shape);
tprintf("AssociateStats: w(%g %d)\n", shape_cost, bad_shape);
}

float shape_cost; // cost of blob shape
Expand Down

0 comments on commit 92c02a7

Please sign in to comment.