Skip to content

Commit

Permalink
Fix format
Browse files Browse the repository at this point in the history
  • Loading branch information
hpwxf committed Nov 9, 2022
1 parent 7c9752e commit cf07a80
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 14 deletions.
2 changes: 1 addition & 1 deletion bindings/Octave/tools/ObjectAccessor.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ struct ObjectRef {};
struct EmptyObject {};

template <typename T, typename... Args>
ObjectCollector::ref_t buildObject(Args &&... args) {
ObjectCollector::ref_t buildObject(Args&&... args) {
return ObjectCollector::registerObject(new T{args...});
}

Expand Down
10 changes: 5 additions & 5 deletions bindings/Python/src/_pylibkriging/Kriging_binding.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ namespace py = pybind11;

class PyKriging {
private:
PyKriging(std::unique_ptr<Kriging> && internal) : m_internal(std::move(internal)) {}
PyKriging(std::unique_ptr<Kriging>&& internal) : m_internal(std::move(internal)) {}

public:
PyKriging(const std::string& kernel);
PyKriging(const py::array_t<double>& y,
Expand All @@ -35,9 +35,9 @@ class PyKriging {
const std::string& objective,
const py::dict& dict);
~PyKriging();
PyKriging(const PyKriging & other);

PyKriging(const PyKriging& other);

[[nodiscard]] PyKriging copy() const;

void fit(const py::array_t<double>& y,
Expand Down
6 changes: 3 additions & 3 deletions bindings/Python/src/_pylibkriging/NoiseKriging_binding.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ namespace py = pybind11;

class PyNoiseKriging {
private:
PyNoiseKriging(std::unique_ptr<NoiseKriging> && internal) : m_internal(std::move(internal)) {}
PyNoiseKriging(std::unique_ptr<NoiseKriging>&& internal) : m_internal(std::move(internal)) {}

public:
PyNoiseKriging(const std::string& kernel);
Expand All @@ -38,8 +38,8 @@ class PyNoiseKriging {
const py::dict& dict);
~PyNoiseKriging();

PyNoiseKriging(const PyNoiseKriging & other);
PyNoiseKriging(const PyNoiseKriging& other);

PyNoiseKriging copy() const;

void fit(const py::array_t<double>& y,
Expand Down
10 changes: 5 additions & 5 deletions bindings/Python/src/_pylibkriging/NuggetKriging_binding.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ namespace py = pybind11;

class PyNuggetKriging {
private:
PyNuggetKriging(std::unique_ptr<NuggetKriging> && internal) : m_internal(std::move(internal)) {}
PyNuggetKriging(std::unique_ptr<NuggetKriging>&& internal) : m_internal(std::move(internal)) {}

public:
PyNuggetKriging(const std::string& kernel);
PyNuggetKriging(const py::array_t<double>& y,
Expand All @@ -35,9 +35,9 @@ class PyNuggetKriging {
const std::string& objective,
const py::dict& dict);
~PyNuggetKriging();
PyNuggetKriging(const PyNuggetKriging & other);

PyNuggetKriging(const PyNuggetKriging& other);

PyNuggetKriging copy() const;

void fit(const py::array_t<double>& y,
Expand Down

0 comments on commit cf07a80

Please sign in to comment.