Skip to content

Commit

Permalink
Take absolute value 😅
Browse files Browse the repository at this point in the history
  • Loading branch information
= committed Jan 26, 2024
1 parent beba387 commit 344943b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cosmic/bplane.rs
Original file line number Diff line number Diff line change
Expand Up @@ -338,7 +338,7 @@ pub fn try_achieve_b_plane(

if br_err.abs() < target.tol_b_r_km
&& bt_err.abs() < target.tol_b_t_km
&& !ltof_err.is_some_and(|err| err > target.tol_ltof_s)
&& !ltof_err.is_some_and(|err| err.abs() > target.tol_ltof_s)
{
return Ok((total_dv, b_plane));
}
Expand Down

0 comments on commit 344943b

Please sign in to comment.