summaryrefslogtreecommitdiffhomepage
path: root/ir/kaps
diff options
context:
space:
mode:
authorSebastian Buchwald <Sebastian.Buchwald@kit.edu>2013-01-23 13:28:02 +0100
committerSebastian Buchwald <Sebastian.Buchwald@kit.edu>2013-01-23 13:44:32 +0100
commit851c750f109af0b04a2c565c6023b1dffa334585 (patch)
treebf77485e9a45190f0156946d943d415c1f0589a7 /ir/kaps
parente83f8c2facec0655499975ace0812d78d2a73a9f (diff)
Fixed potential compile errors.
Diffstat (limited to 'ir/kaps')
-rw-r--r--ir/kaps/heuristical_co.c1
-rw-r--r--ir/kaps/kaps.c2
2 files changed, 2 insertions, 1 deletions
diff --git a/ir/kaps/heuristical_co.c b/ir/kaps/heuristical_co.c
index 8786db9..73bf97f 100644
--- a/ir/kaps/heuristical_co.c
+++ b/ir/kaps/heuristical_co.c
@@ -193,6 +193,7 @@ void solve_pbqp_heuristical_co(pbqp_t *pbqp, plist_t *rpeo)
#else
fprintf(fh, ": %lld RE:%u R0:%u R1:%u R2:%u RM:%u RN/BF:%u\n", pbqp->solution,
pbqp->num_edges, pbqp->num_r0, pbqp->num_r1, pbqp->num_r2,
+ pbqp->num_rm, pbqp->num_rn);
#endif
fclose(fh);
#endif
diff --git a/ir/kaps/kaps.c b/ir/kaps/kaps.c
index 3252799..5e8b2e6 100644
--- a/ir/kaps/kaps.c
+++ b/ir/kaps/kaps.c
@@ -126,7 +126,7 @@ num get_solution(pbqp_t *pbqp)
}
#if KAPS_DUMP
-void set_dumpfile(pbqp *pbqp, FILE *f)
+void set_dumpfile(pbqp_t *pbqp, FILE *f)
{
pbqp->dump_file = f;
}