Skip to content

Commit

Permalink
R_control = Inf
Browse files Browse the repository at this point in the history
  • Loading branch information
Jean-Romain committed Sep 24, 2024
1 parent 33353ce commit 94f5c57
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/LAS.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -352,8 +352,9 @@ NumericVector LAS::compute_range(DataFrame flightlines)
// Compute the median sensor elevation then average range for this sensor
// elevation. This gives a rough idea of the expected range and allows for
// detecting failure and bad computations
double median_z_sensor = Rcpp::median(z);
double R_control = mean(median_z_sensor - Z);
//double median_z_sensor = Rcpp::median(z);
//double R_control = mean(median_z_sensor - Z);
double R_control = DBL_MAX;

NumericVector R(npoints);

Expand Down

0 comments on commit 94f5c57

Please sign in to comment.