Skip to content

Commit f1e20d2

Browse files
committed
contour2d.pyx: fixed maybe-uninitialized wng
1 parent 3aa6830 commit f1e20d2

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

src/contour2d.pyx

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -236,6 +236,9 @@ cdef void compute_contour_2d(double [:, :] data, coord, double[:] values, list c
236236
cdef double d1, d2, d3, d4
237237
cdef double val
238238
cdef Contour ctr
239+
240+
x1 = 0.0; y1 = 0.0; x2 = 0.0; y2 = 0.0
241+
239242
for i in range(nx-1):
240243
for j in range(ny-1):
241244
d1 = data[i,j]

0 commit comments

Comments
 (0)