Skip to content

Commit 96375c5

Browse files
committed
Explicitly define integer type
1 parent e5fabf0 commit 96375c5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

source/matplot/axes_objects/surface.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -407,7 +407,7 @@ namespace matplot {
407407
ss << "\n";
408408
}
409409
// each row is an isoline
410-
for (int i = Y_data_.size() - 1; i >= 0; --i) {
410+
for (size_t i = Y_data_.size() - 1; i >= 0; --i) {
411411
// open row curtain or waterfall
412412
if (curtain_ || waterfall_) {
413413
send_point(ss, X_data_[i][0], Y_data_[i][0], zmin_,

0 commit comments

Comments
 (0)