Skip to content

Commit 697848d

Browse files
committed
Do not use = 0 for a cv::Mat.
There are several operator= overloads and some compilers can be confused.
1 parent 4024870 commit 697848d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/alphamat/src/cm.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ void lle(my_vector_of_vectors_t& indm, my_vector_of_vectors_t& samples, float ep
9292
float alpha, beta, lagrangeMult;
9393
Cones = 1;
9494

95-
C = 0;
95+
C.setTo(0);
9696
rhs = 1;
9797

9898
int i, ind = 0;

0 commit comments

Comments
 (0)