Skip to content

Commit

Permalink
Change error debug messages if projecting origin to the original simp…
Browse files Browse the repository at this point in the history
…lex fails
  • Loading branch information
wlinna committed Sep 18, 2024
1 parent 4e83fc1 commit 22a65a8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/query/epa/epa2.rs
Original file line number Diff line number Diff line change
Expand Up @@ -253,7 +253,7 @@ impl EPA {
// Related issues:
// https://github.com/dimforge/parry/issues/253
// https://github.com/dimforge/parry/issues/246
log::debug!("Hit unexpected state in EPA: proj_inside1, proj_inside2 and proj_inside3 are all false. At least one of them should be true.");
log::debug!("Hit unexpected state in EPA: failed to project the origin on the initial simplex.");
return None;
}
} else {
Expand Down
2 changes: 1 addition & 1 deletion src/query/epa/epa3.rs
Original file line number Diff line number Diff line change
Expand Up @@ -297,7 +297,7 @@ impl EPA {
// Related issues:
// https://github.com/dimforge/parry/issues/253
// https://github.com/dimforge/parry/issues/246
log::debug!("Hit unexpected state in EPA: proj_inside1, proj_inside2, proj_inside3 and proj_inside4 are all false. At least one of them should be true.");
log::debug!("Hit unexpected state in EPA: failed to project the origin on the initial simplex.");
return None;
}
} else {
Expand Down

0 comments on commit 22a65a8

Please sign in to comment.