From 1c72acfda984f73ddc96d51596f9e761a963944a Mon Sep 17 00:00:00 2001 From: Jaron Kent-Dobias Date: Mon, 23 Sep 2019 23:40:02 -0400 Subject: ran clang-format --- lib/include/problem.hpp | 41 ++++++++++++++++++++--------------------- 1 file changed, 20 insertions(+), 21 deletions(-) (limited to 'lib/include/problem.hpp') diff --git a/lib/include/problem.hpp b/lib/include/problem.hpp index 740751d..c454a35 100644 --- a/lib/include/problem.hpp +++ b/lib/include/problem.hpp @@ -1,10 +1,10 @@ -#include #include +#include -#include -#include "graph.hpp" #include "current_info.hpp" +#include "graph.hpp" +#include #ifdef FRACTURE_LONGINT @@ -19,22 +19,21 @@ #endif class problem { - private: - const graph& G; - unsigned axis; - cholmod_dense* b; - cholmod_factor* factor; - cholmod_sparse* voltcurmat; - cholmod_common* c; - - public: - current_info sol; - - problem(const graph&, unsigned, cholmod_common*); - problem(const graph&, unsigned, cholmod_sparse*, cholmod_common*); - problem(const problem&); - ~problem(); - void solve(std::vector& fuses); - void break_edge(unsigned, bool unbreak = false); +private: + const graph& G; + unsigned axis; + cholmod_dense* b; + cholmod_factor* factor; + cholmod_sparse* voltcurmat; + cholmod_common* c; + +public: + current_info sol; + + problem(const graph&, unsigned, cholmod_common*); + problem(const graph&, unsigned, cholmod_sparse*, cholmod_common*); + problem(const problem&); + ~problem(); + void solve(std::vector& fuses); + void break_edge(unsigned, bool unbreak = false); }; - -- cgit v1.2.3-70-g09d2