A RetroSearch Logo

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

Search Query:

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

Prevent compilation errors because of dangling references with std::m… · alandefreitas/matplotplusplus@3b7d12b · GitHub

File tree Expand file treeCollapse file tree 1 file changed

+2

-1

lines changed

Filter options

Expand file treeCollapse file tree 1 file changed

+2

-1

lines changed Original file line number Diff line number Diff line change

@@ -1982,7 +1982,8 @@ namespace matplot {

1982 1982

double zmin = z[0][0];

1983 1983

double zmax = z[0][0];

1984 1984

for (const auto &z_row : z) {

1985 -

auto [minit, maxit] = std::minmax(z_row.begin(), z_row.end());

1985 +

auto [minit, maxit] =

1986 +

std::minmax_element(z_row.begin(), z_row.end());

1986 1987

if (*minit < zmin) {

1987 1988

zmin = *minit;

1988 1989

}

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