Skip to content
This repository was archived by the owner on Aug 6, 2023. It is now read-only.

Commit 2b4fc5c

Browse files
committed
fix style
1 parent 05cbeac commit 2b4fc5c

File tree

4 files changed

+5
-7
lines changed

4 files changed

+5
-7
lines changed

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ option(INSTALL_ONLY "Enable for installation only" OFF)
1212
# Note: update this to your new project's name and version
1313
project(
1414
LmiSolver
15-
VERSION 1.3.1
15+
VERSION 1.3.2
1616
LANGUAGES CXX
1717
)
1818

bench/BM_lmi.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -130,8 +130,7 @@ static void LMI_old(benchmark::State &state) {
130130
const auto B2 = Arr{{14.0, 9.0, 40.0}, {9.0, 91.0, 10.0}, {40.0, 10.0, 15.0}};
131131

132132
while (state.KeepRunning()) {
133-
auto P =
134-
my_oracle<LmiOldOracle<Arr>>(F1, B1, F2, B2, Arr{1.0, -1.0, 1.0});
133+
auto P = my_oracle<LmiOldOracle<Arr>>(F1, B1, F2, B2, Arr{1.0, -1.0, 1.0});
135134
auto E = Ell(10.0, Arr{0.0, 0.0, 0.0});
136135
auto t = 1e100; // std::numeric_limits<double>::max()
137136
[[maybe_unused]] const auto rslt = cutting_plane_optim(P, E, t);

source/lmi_old_oracle.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
#include <stddef.h> // for size_t
22

33
// #include <ellalgo/utility.hpp> // for zeros
4-
#include <gsl/span> // for span, span<>::element_type
4+
#include <gsl/span> // for span, span<>::element_type
55
#include <lmisolver/lmi_old_oracle.hpp> // for LmiOldOracle<Arr036>::Arr, LmiOldOracle<Arr036>::Cut
6-
#include <optional> // for optional
7-
#include <tuple> // for tuple
6+
#include <optional> // for optional
7+
#include <tuple> // for tuple
88
#include <type_traits> // for move
99
#include <xtensor/xarray.hpp> // for xarray_container
1010
#include <xtensor/xcontainer.hpp> // for xcontainer

test/source/test_lmi_old.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,6 @@ class my_old_oracle {
8484
auto operator()(const Arr &x, double &t) -> std::tuple<Cut, bool> {
8585
return this->assess_optim(x, t);
8686
}
87-
8887
};
8988

9089
TEST_CASE("LMI (old) test") {

0 commit comments

Comments
 (0)