Package: calligra / 1:2.8.5+dfsg-1

eigen3_in_tests Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
Index: calligra/krita/image/tests/kis_convolution_painter_test.cpp
===================================================================
--- calligra.orig/krita/image/tests/kis_convolution_painter_test.cpp	2014-03-04 17:39:39.740483334 +0100
+++ calligra/krita/image/tests/kis_convolution_painter_test.cpp	2014-03-04 17:55:04.062648768 +0100
@@ -117,15 +117,15 @@
     dev->convertFromQImage(qimage, 0, 0, 0);
 
     KisConvolutionKernelSP kernel = new KisConvolutionKernel(3, 3, 0, 0);
-    kernel->data()[0] = 0;
-    kernel->data()[1] = 0;
-    kernel->data()[2] = 0;
-    kernel->data()[3] = 0;
-    kernel->data()[4] = 1;
-    kernel->data()[5] = 0;
-    kernel->data()[6] = 0;
-    kernel->data()[7] = 0;
-    kernel->data()[8] = 0;
+    kernel->data()(0) = 0;
+    kernel->data()(1) = 0;
+    kernel->data()(2) = 0;
+    kernel->data()(3) = 0;
+    kernel->data()(4) = 1;
+    kernel->data()(5) = 0;
+    kernel->data()(6) = 0;
+    kernel->data()(7) = 0;
+    kernel->data()(8) = 0;
     KisConvolutionPainter gc(dev);
     gc.beginTransaction(0);
     gc.applyMatrix(kernel, dev, QPoint(0, 0), QPoint(0, 0), QSize(qimage.width(), qimage.height()));
Index: calligra/krita/image/tests/kis_paint_information_test.cpp
===================================================================
--- calligra.orig/krita/image/tests/kis_paint_information_test.cpp	2014-03-04 17:39:39.748483525 +0100
+++ calligra/krita/image/tests/kis_paint_information_test.cpp	2014-03-04 17:54:45.750208699 +0100
@@ -23,7 +23,7 @@
 #include "kis_paint_information.h"
 
 #include <QDomDocument>
-#include <Eigen/Array>
+#include <Eigen/Core>
 
 #include <kdebug.h>