A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/alandefreitas/matplotplusplus/commit/f96bd936e1e51a508ad450a99091610c3ce2d476 below:

remove unused variable · alandefreitas/matplotplusplus@f96bd93 · GitHub

File tree Expand file treeCollapse file tree 1 file changed

+6

-6

lines changed

Filter options

Expand file treeCollapse 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.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4