fix variable delete bug reported in #1346

This commit is contained in:
Axel Kohlmeyer
2019-02-23 16:11:05 -05:00
parent 73401d02c0
commit ba320967a5

View File

@ -1101,6 +1101,7 @@ void Variable::remove(int n)
pad[i-1] = pad[i];
reader[i-1] = reader[i];
data[i-1] = data[i];
dvalue[i-1] = dvalue[i];
}
nvar--;
}