8000 Fix a maybe-uninitialized warning in tri. · matplotlib/matplotlib@39fab5e · GitHub
[go: up one dir, main page]

Skip to content

Commit 39fab5e

Browse files
committed
Fix a maybe-uninitialized warning in tri.
It's not really a problem due to the empty check, but whatever.
1 parent 39b8faf commit 39fab5e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/tri/_tri.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ std::ostream& operator<<(std::ostream& os, const XYZ& xyz)
155155

156156

157157
BoundingBox::BoundingBox()
158-
: empty(true)
158+
: empty(true), lower(0.0, 0.0< 4849 span class="x">), upper(0.0, 0.0)
159159
{}
160160

161161
void BoundingBox::add(const XY& point)

0 commit comments

Comments
 (0)
0