diff options
author | Jakov Smolić <jsmolic@gentoo.org> | 2023-01-24 18:02:29 +0100 |
---|---|---|
committer | Jakov Smolić <jsmolic@gentoo.org> | 2023-01-24 21:13:04 +0100 |
commit | 4cccbd241fdc877bfd546b29edd57e832d4b3f54 (patch) | |
tree | bef4726b9021e4bfe1fc7a5e0cda551c7bb78ba1 /dev-ros/depthimage_to_laserscan/files | |
parent | dev-ros/depth_image_proc: treeclean (diff) | |
download | gentoo-4cccbd241fdc877bfd546b29edd57e832d4b3f54.tar.gz gentoo-4cccbd241fdc877bfd546b29edd57e832d4b3f54.tar.bz2 gentoo-4cccbd241fdc877bfd546b29edd57e832d4b3f54.zip |
dev-ros/depthimage_to_laserscan: treeclean
Signed-off-by: Jakov Smolić <jsmolic@gentoo.org>
Diffstat (limited to 'dev-ros/depthimage_to_laserscan/files')
-rw-r--r-- | dev-ros/depthimage_to_laserscan/files/isnan.patch | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/dev-ros/depthimage_to_laserscan/files/isnan.patch b/dev-ros/depthimage_to_laserscan/files/isnan.patch deleted file mode 100644 index 11254904e945..000000000000 --- a/dev-ros/depthimage_to_laserscan/files/isnan.patch +++ /dev/null @@ -1,13 +0,0 @@ -Index: depthimage_to_laserscan-1.0.7/src/DepthImageToLaserScan.cpp -=================================================================== ---- depthimage_to_laserscan-1.0.7.orig/src/DepthImageToLaserScan.cpp -+++ depthimage_to_laserscan-1.0.7/src/DepthImageToLaserScan.cpp -@@ -59,7 +59,7 @@ bool DepthImageToLaserScan::use_point(co - - // Infs are preferable over NaNs (more information) - if(!new_finite && !old_finite){ // Both are not NaN or Inf. -- if(!isnan(new_value)){ // new is not NaN, so use it's +-Inf value. -+ if(!std::isnan(new_value)){ // new is not NaN, so use it's +-Inf value. - return true; - } - return false; // Do not replace old_value |