projects
/
lttv.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Don't add "0" rows to a glpk problem
[lttv.git]
/
lttv
/
lttv
/
sync
/
event_analysis_eval.c
diff --git
a/lttv/lttv/sync/event_analysis_eval.c
b/lttv/lttv/sync/event_analysis_eval.c
index 6b96102071ddedea3ae42288ec7f86abfb0b72c7..39aa7cda93bec545109863f4517fbea9d026e00f 100644
(file)
--- a/
lttv/lttv/sync/event_analysis_eval.c
+++ b/
lttv/lttv/sync/event_analysis_eval.c
@@
-1537,7
+1537,10
@@
static glp_prob* lpCreateProblem(GQueue* const lowerHull, GQueue* const
// Create the LP problem
glp_term_out(GLP_OFF);
- glp_add_rows(lp, hullPointNb);
+ if (hullPointNb > 0)
+ {
+ glp_add_rows(lp, hullPointNb);
+ }
glp_add_cols(lp, 2);
glp_set_col_name(lp, 1, "a0");
This page took
0.02263 seconds
and
4
git commands to generate.