Skip to content

Commit

Permalink
fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
KelianB committed Dec 8, 2023
1 parent a7610cf commit f3940ad
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/cpp/remesher/remesh_botsch.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ void remesh_botsch(Eigen::MatrixXd & V,Eigen::MatrixXi & F, Eigen::VectorXd & ta
void remesh_botsch(Eigen::MatrixXd & V,Eigen::MatrixXi & F, Eigen::VectorXd & target,int iters, Eigen::VectorXi & feature, bool project){
Eigen::MatrixXd VA;
VA.resize(V.rows(), 1);
remesh_botsch(V,F,target,iters,feature,false,VA);
remesh_botsch(V,F,target,iters,feature,project,VA);
}

void remesh_botsch(Eigen::MatrixXd & V,Eigen::MatrixXi & F, Eigen::VectorXd & target,int iters, Eigen::VectorXi & feature){
Expand Down
2 changes: 1 addition & 1 deletion src/gpytoolbox/remesh_botsch.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ def remesh_botsch(V, F, i=10, h=None, project=True, feature=np.array([], dtype=i

if vertex_attrs is None:
return_va = False
vertex_attrs = np.zeros((V.size(0), 1), dtype=np.float64)
vertex_attrs = np.zeros((V.shape[0], 1), dtype=np.float64)
else:
return_va = True

Expand Down

0 comments on commit f3940ad

Please sign in to comment.