Skip to content

Commit

Permalink
last campilation errors
Browse files Browse the repository at this point in the history
  • Loading branch information
thomasp85 committed Jan 29, 2024
1 parent 5bc96ab commit 389d176
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/bezier.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ cpp11::writable::list getBeziers(const cpp11::doubles& x, const cpp11::doubles&
cpp11::writable::integers pathsID(nPaths * detail);
int controlsStart = 0;
R_xlen_t pathStart = 0;
for (int i = 0; i < nPaths; i++) {
for (size_t i = 0; i < nPaths; i++) {
cpp11::writable::doubles x_tmp(x.begin() + controlsStart, x.begin() + controlsStart + nControls[i]);
cpp11::writable::doubles y_tmp(y.begin() + controlsStart, y.begin() + controlsStart + nControls[i]);
cpp11::doubles_matrix<> path = bezierPath(x_tmp, y_tmp, detail);
Expand Down
1 change: 1 addition & 0 deletions src/ellipseEnclose.cpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
#include <cpp11/doubles.hpp>
#include <cpp11/integers.hpp>
#include <cpp11/strings.hpp>
#include <cpp11/matrix.hpp>
#include <cpp11/list.hpp>
#include <cpp11/data_frame.hpp>
Expand Down

0 comments on commit 389d176

Please sign in to comment.