Skip to content

Commit

Permalink
changes made according to review
Browse files Browse the repository at this point in the history
  • Loading branch information
Shubham Vasudeo Desai committed Jul 12, 2024
1 parent 75dc20f commit 0a1f86e
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions imagery/i.atcorr/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -204,12 +204,12 @@ class TICache {
private:
struct RBitem set_alt_vis(double alt, double vis)
{
struct RBitem rbitem = {0, 0, {0, 0.0, {{0.0, 0.0, 0.0}, {0.0, 0.0, 0.0}}, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0}};
struct RBitem rbitem = {

/* alt and vis must be in meters */
rbitem.alt = (alt < 0 ? (int)(alt - 0.5) : (int)(alt + 0.5));
rbitem.vis = (int)(vis + 0.5);

.alt = (alt < 0 ? (int)(alt - 0.5) : (int)(alt + 0.5)),
.vis = (int)(vis + 0.5)
};
return rbitem;
}

Expand Down

0 comments on commit 0a1f86e

Please sign in to comment.