We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 771c5ab + 8ee7396 commit 03c6460Copy full SHA for 03c6460
src/aux-level/_stratified-sample.c
@@ -221,6 +221,9 @@ OGRGeometryH point;
221
if ((col_count = find_table_col(&sample_size, "count")) < 0){
222
printf("could not find column name %s in file-sample-size\n", "count"); exit(FAILURE);}
223
224
+ if (col_size == col_class || col_size == col_count){
225
+ printf("third column name cannot be class or count\n"); exit(FAILURE);}
226
+
227
#ifdef FORCE_DEBUG
228
print_table(&sample_size, false, false);
229
printf("column %s in column %d\n", "class", col_class);
0 commit comments