You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Segfaults here: where area is set to one at i=4020, y=1 (from gdb backtrace)
From Freya's larger DEM mexico. (Sent to email for further debugging)
voidLSDCatchmentModel::zero_and_calc_drainage_area()
{
// Zeros the area and are-depth arrays// Sets area_depth to ones as a flag but// zeros the ones outisde the catchmentfor(unsigned i=1; i<=imax; i++)
{
for(unsigned j=1; j<=jmax; j++)
{
area_depth[i][j]=1; <----------SEGFAULT
area[i][j] = 0;
if (elev[i][j] == -9999)
{
area_depth[i][j] = 0.0;
}
}
}
drainage_area_D8(); // This refers to a newer area getting method in CaesarLisflood
}
The text was updated successfully, but these errors were encountered:
Segfaults here: where area is set to one at i=4020, y=1 (from gdb backtrace)
From Freya's larger DEM mexico. (Sent to email for further debugging)
The text was updated successfully, but these errors were encountered: