GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — refactoring · cppd/math@0ab7786

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • src
    • filter/core
      • ukf_transform.h
    • geometry
      • accelerators
        • tree.cpp
      • core/test
        • test_convex_hull.cpp
      • reconstruction/test
        • test_reconstruction.cpp
      • shapes/test
        • test_sphere_simplex.cpp
      • spatial
        • parallelotope_aa.h
        • parallelotope_edges.h
        • random
          • parallelotope_points.h
    • gpu
      • dft
        • compute.cpp
      • optical_flow
        • compute.cpp
      • renderer/test/ray_tracing
        • program_ray_tracing.cpp
    • gui
      • application.cpp
      • com
        • threads.cpp
      • dialogs
        • image_slice.cpp
        • object_selection.cpp
        • test_selection.cpp
      • main_window
        • actions.cpp
        • actions_repository.cpp
        • main_window.cpp
        • model_tree.cpp
        • model_tree_menu.cpp
      • painter_window
        • actions.cpp
        • painter_window.h
    • model/mesh
      • file
        • load_obj.cpp
        • load_txt.cpp
      • test
        • test_file.cpp
    • painter
      • integrators/bpt
        • connect.cpp
      • painter.cpp
      • painting
        • paintbrush.h
        • painting.cpp
      • shapes
        • mesh
          • data.cpp
        • test
          • spherical_mesh.h
    • process
      • compute_meshes.cpp
      • dimension.h
      • loading.cpp
    • sampling
      • testing
        • test.h
      • test
        • test_uniform_file.cpp
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎src/filter/core/ukf_transform.h‎

Copy file name to clipboardExpand all lines: src/filter/core/ukf_transform.h
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ template <std::size_t N, typename T, std::size_t COUNT, typename NoiseCovariance
4747
std::is_same_v<NoiseCovariance, numerical::Matrix<N, N, T>>
4848
|| std::is_same_v<NoiseCovariance, numerical::Vector<N, T>>);
4949

50-
const numerical::Vector<N, T> mean = [&]()
50+
const numerical::Vector<N, T> mean = [&]
5151
{
5252
static_assert(COUNT > 0);
5353
numerical::Vector<N, T> res = points[0] * wm[0];
Collapse file

‎src/geometry/accelerators/tree.cpp‎

Copy file name to clipboardExpand all lines: src/geometry/accelerators/tree.cpp
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -230,7 +230,7 @@ SpatialSubdivisionTree<Parallelotope>::SpatialSubdivisionTree(const Objects& obj
230230
ThreadTasks<Task<Box>> tasks;
231231
tasks.emplace(&boxes.front(), 1 /*depth*/);
232232

233-
const auto f = [&]()
233+
const auto f = [&]
234234
{
235235
try
236236
{
Collapse file

‎src/geometry/core/test/test_convex_hull.cpp‎

Copy file name to clipboardExpand all lines: src/geometry/core/test/test_convex_hull.cpp
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -264,7 +264,7 @@ void test_convex_hull(progress::Ratio* const progress)
264264
constexpr bool WRITE_LOG = true;
265265
constexpr bool WRITE_INFO = true;
266266

267-
const int size = [&]()
267+
const int size = [&]
268268
{
269269
PCG engine;
270270
return std::uniform_int_distribution<int>(MIN_SIZE, MAX_SIZE)(engine);
Collapse file

‎src/geometry/reconstruction/test/test_reconstruction.cpp‎

Copy file name to clipboardExpand all lines: src/geometry/reconstruction/test/test_reconstruction.cpp
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -287,7 +287,7 @@ void all_tests(
287287
template <std::size_t N>
288288
void test(const int low, const int high, progress::Ratio* const progress)
289289
{
290-
const int point_count = [&]()
290+
const int point_count = [&]
291291
{
292292
PCG engine;
293293
return std::uniform_int_distribution<int>(low, high)(engine);
Collapse file

‎src/geometry/shapes/test/test_sphere_simplex.cpp‎

Copy file name to clipboardExpand all lines: src/geometry/shapes/test/test_sphere_simplex.cpp
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ void test_integrate(progress::Ratio* const progress, const double progress_min,
5555

5656
PCG engine;
5757

58-
const std::array<numerical::Vector<N, T>, N> simplex_vertices = [&]()
58+
const std::array<numerical::Vector<N, T>, N> simplex_vertices = [&]
5959
{
6060
std::array<numerical::Vector<N, T>, N> res;
6161
for (numerical::Vector<N, T>& v : res)
Collapse file

‎src/geometry/spatial/parallelotope_aa.h‎

Copy file name to clipboardExpand all lines: src/geometry/spatial/parallelotope_aa.h
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -354,7 +354,7 @@ std::array<ParallelotopeAA<N, T>, ParallelotopeAA<N, T>::DIVISIONS> Parallelotop
354354
unsigned count = 0;
355355
std::array<Planes, N> p;
356356

357-
const auto f = [&count, &res, &p]()
357+
const auto f = [&count, &res, &p]
358358
{
359359
ASSERT(count < res.size());
360360
res[count++].planes_ = p;
Collapse file

‎src/geometry/spatial/parallelotope_edges.h‎

Copy file name to clipboardExpand all lines: src/geometry/spatial/parallelotope_edges.h
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ std::array<std::array<numerical::Vector<N, T>, 2>, parallelotope_edges_implement
133133
numerical::Vector<N, T> p;
134134
std::array<bool, N> dimensions;
135135

136-
const auto f = [&]()
136+
const auto f = [&]
137137
{
138138
for (std::size_t i = 0; i < N; ++i)
139139
{
Collapse file

‎src/geometry/spatial/random/parallelotope_points.h‎

Copy file name to clipboardExpand all lines: src/geometry/spatial/random/parallelotope_points.h
+5-5Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ std::vector<numerical::Vector<N, T>> parallelotope_external_points(
3737
std::uniform_real_distribution<T> high_urd(1.01, 10);
3838
std::bernoulli_distribution bd(0.5);
3939

40-
const auto random_point = [&]()
40+
const auto random_point = [&]
4141
{
4242
numerical::Vector<N, T> res = org;
4343
for (std::size_t i = 0; i < N; ++i)
@@ -68,7 +68,7 @@ std::vector<numerical::Vector<N, T>> parallelotope_external_points(
6868
std::uniform_real_distribution<T> high_urd(1.01, 10);
6969
std::bernoulli_distribution bd(0.5);
7070

71-
const auto random_point = [&]()
71+
const auto random_point = [&]
7272
{
7373
numerical::Vector<N, T> res = org;
7474
for (std::size_t i = 0; i < N; ++i)
@@ -97,7 +97,7 @@ std::vector<numerical::Vector<N, T>> parallelotope_internal_points(
9797
{
9898
std::uniform_real_distribution<T> urd(0.01, 0.99);
9999

100-
const auto random_point = [&]()
100+
const auto random_point = [&]
101101
{
102102
numerical::Vector<N, T> res = org;
103103
for (std::size_t i = 0; i < N; ++i)
@@ -125,7 +125,7 @@ std::vector<numerical::Vector<N, T>> parallelotope_internal_points(
125125
{
126126
std::uniform_real_distribution<T> urd(0.01, 0.99);
127127

128-
const auto random_point = [&]()
128+
const auto random_point = [&]
129129
{
130130
numerical::Vector<N, T> res = org;
131131
for (std::size_t i = 0; i < N; ++i)
@@ -154,7 +154,7 @@ std::vector<numerical::Vector<N, T>> parallelotope_cover_points(
154154
std::uniform_real_distribution<T> cover_urd(-0.2, 1.2);
155155
std::uniform_real_distribution<T> len_urd(0, 1);
156156

157-
const auto cover_point = [&]()
157+
const auto cover_point = [&]
158158
{
159159
numerical::Vector<N, T> res = org;
160160
for (std::size_t i = 0; i < N; ++i)
Collapse file

‎src/gpu/dft/compute.cpp‎

Copy file name to clipboardExpand all lines: src/gpu/dft/compute.cpp
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -241,7 +241,7 @@ class DftVector final : public ComputeVector
241241
{
242242
const VkCommandBuffer command_buffer = (*command_buffers_)[index];
243243

244-
const auto commands = [&]()
244+
const auto commands = [&]
245245
{
246246
const bool inverse = (index == DftType::INVERSE);
247247
dft_->compute_commands(command_buffer, inverse);
Collapse file

‎src/gpu/optical_flow/compute.cpp‎

Copy file name to clipboardExpand all lines: src/gpu/optical_flow/compute.cpp
+2-2Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ class Impl final : public Compute
137137

138138
const VkCommandBuffer command_buffer = *command_buffer_first_pyramid_;
139139

140-
const auto commands = [&]()
140+
const auto commands = [&]
141141
{
142142
program_image_pyramid_.commands(images_, 0, command_buffer);
143143
};
@@ -154,7 +154,7 @@ class Impl final : public Compute
154154
{
155155
const VkCommandBuffer command_buffer = (*command_buffers_)[index];
156156

157-
const auto commands = [&]()
157+
const auto commands = [&]
158158
{
159159
// i — previous image, 1-i — current image
160160
program_image_pyramid_.commands(images_, 1 - index, command_buffer);

0 commit comments

Comments
0 (0)
You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.