diff options
-rw-r--r-- | digikam/imageplugins/coreplugin/sharpnesseditor/matrix.cpp | 8 | ||||
-rw-r--r-- | digikam/libs/lprof/cmsreg.cpp | 2 |
2 files changed, 5 insertions, 5 deletions
diff --git a/digikam/imageplugins/coreplugin/sharpnesseditor/matrix.cpp b/digikam/imageplugins/coreplugin/sharpnesseditor/matrix.cpp index 88ef607..10a12b7 100644 --- a/digikam/imageplugins/coreplugin/sharpnesseditor/matrix.cpp +++ b/digikam/imageplugins/coreplugin/sharpnesseditor/matrix.cpp @@ -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> diff --git a/digikam/libs/lprof/cmsreg.cpp b/digikam/libs/lprof/cmsreg.cpp index 00c6c06..4e66a9e 100644 --- a/digikam/libs/lprof/cmsreg.cpp +++ b/digikam/libs/lprof/cmsreg.cpp @@ -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); |