mirror of
https://github.com/wavelog/wavelog.git
synced 2026-03-22 10:24:14 +00:00
Merge branch 'dev' into tag_1_8_1
This commit is contained in:
@@ -140,7 +140,9 @@ class Qra {
|
||||
} else if ($unit == "N") {
|
||||
$dist *= 0.8684;
|
||||
}
|
||||
|
||||
if ((is_nan($dist)) || !(is_numeric($dist))) { // Special-Case, catch same grid and/or Errors
|
||||
$dist=0;
|
||||
}
|
||||
return round($dist, 1);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user