Skip to content

Commit fb2a9d7

Browse files
committed
copyright bump
1 parent 0b9fc58 commit fb2a9d7

18 files changed

+26
-29
lines changed

examples/SO2_adaptor_example.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/***********************************************************************
22
* Software License Agreement (BSD License)
33
*
4-
* Copyright 2011-2022 Jose Luis Blanco ([email protected]).
4+
* Copyright 2011-2024 Jose Luis Blanco ([email protected]).
55
* All rights reserved.
66
*
77
* Redistribution and use in source and binary forms, with or without

examples/SO3_adaptor_example.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/***********************************************************************
22
* Software License Agreement (BSD License)
33
*
4-
* Copyright 2011-2022 Jose Luis Blanco ([email protected]).
4+
* Copyright 2011-2024 Jose Luis Blanco ([email protected]).
55
* All rights reserved.
66
*
77
* Redistribution and use in source and binary forms, with or without

examples/dynamic_pointcloud_example.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/***********************************************************************
22
* Software License Agreement (BSD License)
33
*
4-
* Copyright 2011-2022 Jose Luis Blanco ([email protected]).
4+
* Copyright 2011-2024 Jose Luis Blanco ([email protected]).
55
* All rights reserved.
66
*
77
* Redistribution and use in source and binary forms, with or without

examples/example_with_cmake/pointcloud_example.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/***********************************************************************
22
* Software License Agreement (BSD License)
33
*
4-
* Copyright 2011-2022 Jose Luis Blanco ([email protected]).
4+
* Copyright 2011-2024 Jose Luis Blanco ([email protected]).
55
* All rights reserved.
66
*
77
* Redistribution and use in source and binary forms, with or without

examples/example_with_pkgconfig/pointcloud_example.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/***********************************************************************
22
* Software License Agreement (BSD License)
33
*
4-
* Copyright 2011-2022 Jose Luis Blanco ([email protected]).
4+
* Copyright 2011-2024 Jose Luis Blanco ([email protected]).
55
* All rights reserved.
66
*
77
* Redistribution and use in source and binary forms, with or without

examples/examples_gui/nanoflann_gui_example_R3/nanoflann_gui_example_R3.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/***********************************************************************
22
* Software License Agreement (BSD License)
33
*
4-
* Copyright 2011-2022 Jose Luis Blanco ([email protected]).
4+
* Copyright 2011-2024 Jose Luis Blanco ([email protected]).
55
* All rights reserved.
66
*
77
* Redistribution and use in source and binary forms, with or without

examples/examples_gui/nanoflann_gui_example_bearings/nanoflann_gui_example_bearings.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/***********************************************************************
22
* Software License Agreement (BSD License)
33
*
4-
* Copyright 2011-2022 Jose Luis Blanco ([email protected]).
4+
* Copyright 2011-2024 Jose Luis Blanco ([email protected]).
55
* All rights reserved.
66
*
77
* Redistribution and use in source and binary forms, with or without

examples/matrix_example.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/***********************************************************************
22
* Software License Agreement (BSD License)
33
*
4-
* Copyright 2011-2022 Jose Luis Blanco ([email protected]).
4+
* Copyright 2011-2024 Jose Luis Blanco ([email protected]).
55
* All rights reserved.
66
*
77
* Redistribution and use in source and binary forms, with or without

examples/pointcloud_adaptor_example.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/***********************************************************************
22
* Software License Agreement (BSD License)
33
*
4-
* Copyright 2011-2022 Jose Luis Blanco ([email protected]).
4+
* Copyright 2011-2024 Jose Luis Blanco ([email protected]).
55
* All rights reserved.
66
*
77
* Redistribution and use in source and binary forms, with or without

examples/pointcloud_custom_metric.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/***********************************************************************
22
* Software License Agreement (BSD License)
33
*
4-
* Copyright 2011-2022 Jose Luis Blanco ([email protected]).
4+
* Copyright 2011-2024 Jose Luis Blanco ([email protected]).
55
* All rights reserved.
66
*
77
* Redistribution and use in source and binary forms, with or without

examples/pointcloud_custom_resultset.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/***********************************************************************
22
* Software License Agreement (BSD License)
33
*
4-
* Copyright 2011-2022 Jose Luis Blanco ([email protected]).
4+
* Copyright 2011-2024 Jose Luis Blanco ([email protected]).
55
* All rights reserved.
66
*
77
* Redistribution and use in source and binary forms, with or without

examples/pointcloud_example.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/***********************************************************************
22
* Software License Agreement (BSD License)
33
*
4-
* Copyright 2011-2022 Jose Luis Blanco ([email protected]).
4+
* Copyright 2011-2024 Jose Luis Blanco ([email protected]).
55
* All rights reserved.
66
*
77
* Redistribution and use in source and binary forms, with or without

examples/pointcloud_kdd_radius.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/***********************************************************************
22
* Software License Agreement (BSD License)
33
*
4-
* Copyright 2011-2022 Jose Luis Blanco ([email protected]).
4+
* Copyright 2011-2024 Jose Luis Blanco ([email protected]).
55
* All rights reserved.
66
*
77
* Redistribution and use in source and binary forms, with or without

examples/saveload_example.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/***********************************************************************
22
* Software License Agreement (BSD License)
33
*
4-
* Copyright 2011-2022 Jose Luis Blanco ([email protected]).
4+
* Copyright 2011-2024 Jose Luis Blanco ([email protected]).
55
* All rights reserved.
66
*
77
* Redistribution and use in source and binary forms, with or without

examples/utils.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/***********************************************************************
22
* Software License Agreement (BSD License)
33
*
4-
* Copyright 2011-2022 Jose Luis Blanco ([email protected]).
4+
* Copyright 2011-2024 Jose Luis Blanco ([email protected]).
55
* All rights reserved.
66
*
77
* Redistribution and use in source and binary forms, with or without

examples/vector_of_vectors_example.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/***********************************************************************
22
* Software License Agreement (BSD License)
33
*
4-
* Copyright 2011-2022 Jose Luis Blanco ([email protected]).
4+
* Copyright 2011-2024 Jose Luis Blanco ([email protected]).
55
* All rights reserved.
66
*
77
* Redistribution and use in source and binary forms, with or without

include/nanoflann.hpp

+9-12
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
*
44
* Copyright 2008-2009 Marius Muja ([email protected]). All rights reserved.
55
* Copyright 2008-2009 David G. Lowe ([email protected]). All rights reserved.
6-
* Copyright 2011-2023 Jose Luis Blanco ([email protected]).
6+
* Copyright 2011-2024 Jose Luis Blanco ([email protected]).
77
* All rights reserved.
88
*
99
* THE BSD LICENSE
@@ -49,8 +49,8 @@
4949
#include <atomic>
5050
#include <cassert>
5151
#include <cmath> // for abs()
52-
#include <cstdlib> // for abs()
5352
#include <cstdint>
53+
#include <cstdlib> // for abs()
5454
#include <functional> // std::reference_wrapper
5555
#include <future>
5656
#include <istream>
@@ -273,8 +273,7 @@ class RKNNResultSet
273273
indices = indices_;
274274
dists = dists_;
275275
count = 0;
276-
if (capacity)
277-
dists[capacity - 1] = maximumSearchDistanceSquared;
276+
if (capacity) dists[capacity - 1] = maximumSearchDistanceSquared;
278277
}
279278

280279
CountType size() const { return count; }
@@ -832,7 +831,7 @@ struct SearchParameters
832831
*/
833832
class PooledAllocator
834833
{
835-
static constexpr size_t WORDSIZE = 16; //WORDSIZE must >= 8
834+
static constexpr size_t WORDSIZE = 16; // WORDSIZE must >= 8
836835
static constexpr size_t BLOCKSIZE = 8192;
837836

838837
/* We maintain memory alignment to word boundaries by requiring that all
@@ -903,9 +902,7 @@ class PooledAllocator
903902

904903
/* Allocate new storage. */
905904
const Size blocksize =
906-
size > BLOCKSIZE
907-
? size + WORDSIZE
908-
: BLOCKSIZE + WORDSIZE;
905+
size > BLOCKSIZE ? size + WORDSIZE : BLOCKSIZE + WORDSIZE;
909906

910907
// use the standard C malloc to allocate memory
911908
void* m = ::malloc(blocksize);
@@ -920,7 +917,7 @@ class PooledAllocator
920917
base_ = m;
921918

922919
remaining_ = blocksize - WORDSIZE;
923-
loc_ = static_cast<char*>(m) + WORDSIZE;
920+
loc_ = static_cast<char*>(m) + WORDSIZE;
924921
}
925922
void* rloc = loc_;
926923
loc_ = static_cast<char*>(loc_) + size;
@@ -1302,7 +1299,7 @@ class KDTreeBaseClass
13021299
}
13031300
ElementType max_spread = -1;
13041301
cutfeat = 0;
1305-
ElementType min_elem = 0, max_elem = 0;
1302+
ElementType min_elem = 0, max_elem = 0;
13061303
for (Dimension i = 0; i < dims; ++i)
13071304
{
13081305
ElementType span = bbox[i].high - bbox[i].low;
@@ -1315,8 +1312,8 @@ class KDTreeBaseClass
13151312
{
13161313
cutfeat = i;
13171314
max_spread = spread;
1318-
min_elem = min_elem_;
1319-
max_elem = max_elem_;
1315+
min_elem = min_elem_;
1316+
max_elem = max_elem_;
13201317
}
13211318
}
13221319
}

tests/test_main.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/***********************************************************************
22
* Software License Agreement (BSD License)
33
*
4-
* Copyright 2011-2022 Jose Luis Blanco ([email protected]).
4+
* Copyright 2011-2024 Jose Luis Blanco ([email protected]).
55
* All rights reserved.
66
*
77
* THE BSD LICENSE

0 commit comments

Comments
 (0)