aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexandre Jesus <adbjesus@gmail.com>2016-09-16 01:55:04 +0100
committerAlexandre Jesus <adbjesus@gmail.com>2016-09-16 01:55:04 +0100
commit37f41a284d633babeb152dbc0bf0248058fc25c9 (patch)
tree590c76a072b43194e6a4f1054372645fec6050b2
parent86dd2413455857c9ccceff26ccf9011bc39373bf (diff)
downloadlibuknapsack-37f41a284d633babeb152dbc0bf0248058fc25c9.tar.gz
libuknapsack-37f41a284d633babeb152dbc0bf0248058fc25c9.zip
Dont use tabs on print_front
-rw-r--r--src/common.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common.c b/src/common.c
index d736879..7d9e01d 100644
--- a/src/common.c
+++ b/src/common.c
@@ -53,7 +53,7 @@ void print_front(struct front_item * b){
printf("Profit, Weight, Time\n");
while(b!=NULL){
clock_t t = b->time - beg->time;
- printf("%.02f,\t%.02f,\t%f\n", b->i.p, b->i.w, ((double)t)/CLOCKS_PER_SEC);
+ printf("%.02f,%.02f,%f\n", b->i.p, b->i.w, ((double)t)/CLOCKS_PER_SEC);
b = b->next;
}
}