Skip to content

Commit

Permalink
issue GeomScale#184 :
Browse files Browse the repository at this point in the history
included the library <cmath>
  • Loading branch information
sharmapranay38 committed Feb 4, 2023
1 parent 423bbcf commit b840c18
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion include/random_walks/boundary_cdhr_walk.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
#define RANDOM_WALKS_BOUNDARY_CDHR_WALK_HPP

#include "sampling/sphere.hpp"

#include<cmath>
// random directions hit-and-run walk with uniform target distribution
// from boundary

Expand Down
2 changes: 1 addition & 1 deletion include/random_walks/gaussian_ball_walk.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

#include "sampling/sphere.hpp"
#include "random_walks/gaussian_helpers.hpp"

#include<cmath>
// Ball walk with spherical Gaussian target distribution

struct GaussianBallWalk
Expand Down
2 changes: 1 addition & 1 deletion include/random_walks/gaussian_helpers.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
#define GAUSSIAN_HELPERS_HPP

#define EXP_CHORD_TOLERENCE 0.00000001

#include<cmath>
// evaluate the pdf of point p
template <typename Point, typename NT>
NT eval_exp(Point const& p, NT const& a)
Expand Down
2 changes: 1 addition & 1 deletion include/random_walks/random_walks.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

#ifndef RANDOM_WALKS_RANDOM_WALKS_HPP
#define RANDOM_WALKS_RANDOM_WALKS_HPP

#include<cmath>
#include<Eigen/Eigen>

#include "random_walks/boundary_cdhr_walk.hpp"
Expand Down
1 change: 1 addition & 0 deletions include/sampling/sphere.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
#define SAMPLERS_SPHERE_HPP

#include "convex_bodies/correlation_matrices/corre_matrix.hpp"
#include<cmath>

template <typename Point>
struct GetDirection
Expand Down

0 comments on commit b840c18

Please sign in to comment.