aboutsummaryrefslogtreecommitdiffstats
path: root/bin/chilbert_svg.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'bin/chilbert_svg.cpp')
-rw-r--r--bin/chilbert_svg.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/chilbert_svg.cpp b/bin/chilbert_svg.cpp
index 1151a1a..dd4a3d4 100644
--- a/bin/chilbert_svg.cpp
+++ b/bin/chilbert_svg.cpp
@@ -52,7 +52,7 @@ main(int argc, char** argv)
// One polyline through all vertices
for (uint64_t i = 0; i <= num_points; ++i) {
std::array<uint32_t, 2> point;
- chilbert::index_to_coords(point.data(), 32, 2, i);
+ chilbert::index_to_coords(point, 32, 2, i);
printf("%u,%u ", point[0], point[1]);
}