Skip to content
Snippets Groups Projects
Commit 73ba91d5 authored by Uwe Schulzweida's avatar Uwe Schulzweida
Browse files

Selgridcell: set ncells (bug fix)

parent ad11d573
No related branches found
No related tags found
1 merge request!82M214003/develop
......@@ -99,7 +99,7 @@ class ModuleSelgridcell
int vlistID2;
int nind = 0;
long ncells = nind;
long ncells = 0;
VarList varList1;
VarList varList2;
......@@ -205,6 +205,7 @@ public:
auto ngrids = vlistNgrids(vlistID1);
sindex = std::vector<sindex_t>(ngrids);
ncells = nind;
if (operatorID == DELGRIDCELL)
{
auto gridsize = vlistGridsizeMax(vlistID1);
......
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