Skip to content
Snippets Groups Projects
Commit 350a2bc5 authored by Tom Fischer's avatar Tom Fischer
Browse files

[A/IO/AsciiRasterInterface] Fix warning: suggest parentheses around assignment used as truth value

parent 43dcbb16
No related branches found
No related tags found
No related merge requests found
......@@ -287,7 +287,7 @@ GeoLib::Raster* AsciiRasterInterface::getRasterFromXyzFile(
0, 0, 1, GeoLib::Point(*coords), (*coords2)[0] - (*coords)[0], -9999};
std::size_t n_cols = 2, n_rows = 1;
while (coords = readCoordinates(in))
while ((coords = readCoordinates(in)))
{
values.push_back((*coords)[2]);
if ((*coords)[0] > (*coords2)[0])
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment