File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -396,12 +396,12 @@ namespace matplot {
396
396
397
397
const ContourLine::Children &children = line.get_children ();
398
398
// number of points in the line itself
399
- size_t npoints = static_cast <size_t >(line.size () + 1 );
400
- // accumulate the number of points for each line child
401
- for (children_it = children.begin ();
402
- children_it != children.end (); ++children_it) {
403
- npoints += static_cast <size_t >((*children_it)->size () + 1 );
404
- }
399
+ // size_t npoints = static_cast<size_t>(line.size() + 1);
400
+ // // accumulate the number of points for each line child
401
+ // for (children_it = children.begin();
402
+ // children_it != children.end(); ++children_it) {
403
+ // npoints += static_cast<size_t>((*children_it)->size() + 1);
404
+ // }
405
405
406
406
auto is_valid_point = [](double x, double y) {
407
407
return std::isfinite (x) && std::isfinite (y) && x != 0 . &&
You can’t perform that action at this time.
0 commit comments