Fix FTBFS with GCC7 on arm

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
pull/1/head
Slávek Banko 7 years ago
parent a657321fdf
commit e04cc13c3d

@ -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