From 53e3f1af85c1f5cb700a6c1c3011a3af9b014816 Mon Sep 17 00:00:00 2001 From: Michael Hahsler Date: Thu, 5 Aug 2021 07:14:33 -0500 Subject: [PATCH] CRAN release. --- DESCRIPTION | 4 ++-- NEWS.md | 2 +- src/pomdp-solve/lp-solve/lpkit.c | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/DESCRIPTION b/DESCRIPTION index b4c171e..b68422a 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -1,7 +1,7 @@ Package: pomdp Title: Solver for Partially Observable Markov Decision Processes (POMDP) -Version: 0.99.2.1 -Date: 2021-xx-xx +Version: 0.99.3 +Date: 2021-08-05 Authors@R: c(person(given = "Michael", family = "Hahsler", diff --git a/NEWS.md b/NEWS.md index c14772f..ed7a10c 100644 --- a/NEWS.md +++ b/NEWS.md @@ -1,4 +1,4 @@ -# pomdp 0.99.2.1 (xx/xx/2021) +# pomdp 0.99.3 (08/05/2021) * moved Ternary and visNetwork to SUGGESTED. * removed clang warning for lex scanners. diff --git a/src/pomdp-solve/lp-solve/lpkit.c b/src/pomdp-solve/lp-solve/lpkit.c index a5a71c4..85310a1 100644 --- a/src/pomdp-solve/lp-solve/lpkit.c +++ b/src/pomdp-solve/lp-solve/lpkit.c @@ -556,7 +556,7 @@ void add_constraint(lprec *lp, REAL *row, short constr_type, REAL rh) lp->orig_lowbo[lp->rows] = 0; if(constr_type == GE && rh != 0) - lp->orig_rh[lp->rows] =- rh; + lp->orig_rh[lp->rows] = -rh; else lp->orig_rh[lp->rows] = rh;