Mise à jour terminée. Pour connaître les apports de la version 13.8.4 par rapport à notre ancienne version vous pouvez lire les "Release Notes" suivantes :
https://about.gitlab.com/releases/2021/02/11/security-release-gitlab-13-8-4-released/
https://about.gitlab.com/releases/2021/02/05/gitlab-13-8-3-released/

Commit 43dcce8d authored by Laurent Belcour's avatar Laurent Belcour

Merging strange behaviour

parents b69e6120 a6d08744
TARGET = quadprog++
TEMPLATE = lib
CONFIG *= qt \
CONFIG *= static \
qt \
plugin \
eigen
......
......@@ -13,6 +13,12 @@
#include <QTime>
#ifdef WIN32
#define isnan(X) ((X != X))
#endif
using namespace std;
data* rational_fitter_quadprog::provide_data() const
{
return new vertical_segment() ;
......@@ -233,7 +239,8 @@ bool rational_fitter_quadprog::fit_data(const vertical_segment* dat, int np, int
#endif
double delta = sigma_m / sigma_M ;
if(std::isnan(delta) || (std::abs(delta) == std::numeric_limits<double>::infinity()))
if(isnan(delta) || (std::abs(delta) == std::numeric_limits<double>::infinity()))
{
#ifdef DEBUG
std::cerr << "<<ERROR>> delta factor is NaN of Inf" << std::endl ;
......@@ -270,7 +277,7 @@ bool rational_fitter_quadprog::fit_data(const vertical_segment* dat, int np, int
for(int i=0; i<np+nq; ++i)
{
const double v = x[i];
solves_qp = solves_qp && !std::isnan(v) && (v != std::numeric_limits<double>::infinity()) ;
solves_qp = solves_qp && !isnan(v) && (v != std::numeric_limits<double>::infinity()) ;
}
if(solves_qp)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment