Skip to content

Commit

Permalink
More decimal places in final merge output.
Browse files Browse the repository at this point in the history
  • Loading branch information
akirmse committed Mar 22, 2024
1 parent 8ae031e commit 3b26d6f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion code/merge_divide_trees.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,7 @@ int main(int argc, char **argv) {
elevation = -elevation;
}

fprintf(file, "%.5f,%.5f,%.2f,%.5f,%.5f,%.2f\n",
fprintf(file, "%.6f,%.6f,%.2f,%.6f,%.6f,%.2f\n",
peakpos.latitude(), peakpos.longitude(), elevation * elevationScale,
colpos.latitude(), colpos.longitude(),
nodes[i].prominence * elevationScale);
Expand Down

0 comments on commit 3b26d6f

Please sign in to comment.