Skip to content
This repository has been archived by the owner on Sep 27, 2021. It is now read-only.

maxindex correction in csg_resample #575

Merged
merged 3 commits into from
Aug 12, 2020
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/tools/csg_resample.cc
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ int main(int argc, char **argv) {
if (in.x(i) < sp_min) {
junghans marked this conversation as resolved.
Show resolved Hide resolved
minindex = i;
}
if (in.x(i) < sp_max) {
if (in.x(i) <= sp_max) {
junghans marked this conversation as resolved.
Show resolved Hide resolved
maxindex = i;
}
}
Expand Down