Add an option to specify the size of tiny polygons

This commit is contained in:
Erica Fischer
2022-08-23 13:20:42 -07:00
parent 5158576366
commit 3f8fb2177e
38 changed files with 1620 additions and 1410 deletions
+7 -7
View File
@@ -175,11 +175,11 @@ std::string format_commandline(int argc, char **argv) {
// for jsonpull to call from C
char *dtoa_milo(double val) {
std::string s = milo::dtoa_milo(val);
char *dup = strdup(s.c_str());
if (dup == NULL) {
perror("strdup");
exit(EXIT_FAILURE);
}
return dup;
std::string s = milo::dtoa_milo(val);
char *dup = strdup(s.c_str());
if (dup == NULL) {
perror("strdup");
exit(EXIT_FAILURE);
}
return dup;
}