Skip to content

Commit 94f5c57

Browse files
committed
R_control = Inf
1 parent 33353ce commit 94f5c57

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/LAS.cpp

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -352,8 +352,9 @@ NumericVector LAS::compute_range(DataFrame flightlines)
352352
// Compute the median sensor elevation then average range for this sensor
353353
// elevation. This gives a rough idea of the expected range and allows for
354354
// detecting failure and bad computations
355-
double median_z_sensor = Rcpp::median(z);
356-
double R_control = mean(median_z_sensor - Z);
355+
//double median_z_sensor = Rcpp::median(z);
356+
//double R_control = mean(median_z_sensor - Z);
357+
double R_control = DBL_MAX;
357358

358359
NumericVector R(npoints);
359360

0 commit comments

Comments
 (0)