diff --git a/R-proj/DESCRIPTION b/R-proj/DESCRIPTION index fd0b3fb18..c1e1e7e57 100644 --- a/R-proj/DESCRIPTION +++ b/R-proj/DESCRIPTION @@ -12,8 +12,8 @@ Description: Provides an R interface for 'volesti' C++ package. 'volesti' comput for sampling, rounding and rotating polytopes. Moreover, 'volesti' provides algorithms for estimating copulas useful in computational finance. Methods implemented in 'volesti' are described in A. Chalkis and V. Fisikopoulos (2022) and references therein. -Version: 1.1.2-3 -Date: 2022-10-12 +Version: 1.1.2-4 +Date: 2022-04-03 Maintainer: Vissarion Fisikopoulos Depends: Rcpp (>= 0.12.17) Imports: methods, stats diff --git a/R-proj/src/Rproj_externals/lp_solve/lp_presolve.c b/R-proj/src/Rproj_externals/lp_solve/lp_presolve.c index abd7ac15d..5e99f20e4 100644 --- a/R-proj/src/Rproj_externals/lp_solve/lp_presolve.c +++ b/R-proj/src/Rproj_externals/lp_solve/lp_presolve.c @@ -170,13 +170,13 @@ STATIC MYBOOL presolve_rebuildUndo(lprec *lp, MYBOOL isprimal) if(isprimal) { if(psdata->primalundo != NULL) mat = psdata->primalundo->tracker; - //solution = lp->full_solution + lp->presolve_undo->orig_rows; // Comment out by Apostolos Chalkis + solution = lp->full_solution + lp->presolve_undo->orig_rows; // Comment out by Apostolos Chalkis slacks = lp->full_solution; } else { if(psdata->dualundo != NULL) mat = psdata->dualundo->tracker; - //solution = lp->full_duals; // Comment out by Apostolos Chalkis + solution = lp->full_duals; // Comment out by Apostolos Chalkis slacks = lp->full_duals + lp->presolve_undo->orig_rows; } if(mat == NULL) diff --git a/cran_gen/NEWS.md b/cran_gen/NEWS.md index 8e6dcffa3..181232de2 100644 --- a/cran_gen/NEWS.md +++ b/cran_gen/NEWS.md @@ -42,3 +42,7 @@ # volesti 1.1.2-3 - Remove unneeded-internal-declaration warning in clang-15 + +# volesti 1.1.2-4 + +- Remove uninitialized warning in clang-16 (lp_presolve) \ No newline at end of file