Fix FTBFS with GCC7 on arm

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit e04cc13c3d)
r14.0.x
Slávek Banko 7 years ago
parent 3f20e6f371
commit bdc6f0395d

@ -30,16 +30,16 @@
// Square
#define SQR(x) ((x) * (x))
// C++ includes.
#include <cmath>
extern "C"
{
#include "f2c.h"
#include "clapack.h"
}
// C++ includes.
#include <cmath>
// TQt includes.
#include <tqglobal.h>

@ -147,7 +147,7 @@ BOOL MultipleLinearRegression(const LPMATN xi, /* Dependent varia
/* |bt| = |b| T */
bt = MATNtranspose (b);
if (bt == false) return false;
if (bt == NULL) return false;
/* |yt| = |bt| * |xt| */
yt = MATNmult (bt, xt);

Loading…
Cancel
Save