Skip to content

Commit

Permalink
Move namespace definition do protected section.
Browse files Browse the repository at this point in the history
  • Loading branch information
DinoBektesevic committed Sep 25, 2023
1 parent 5703f9d commit c3de134
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/kbmod/search/common.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,6 @@
#include "pydocs/common_docs.h"


namespace py = pybind11;


namespace search {
#ifdef HAVE_CUDA
constexpr bool HAVE_GPU = true;
Expand Down Expand Up @@ -193,6 +190,8 @@ namespace search {
};

#ifdef Py_PYTHON_H
namespace py = pybind11;

static void trajectory_bindings(py::module &m) {
using tj = Trajectory;

Expand Down

0 comments on commit c3de134

Please sign in to comment.