File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 44#include < print>
55#include < sstream>
66
7- #include " partdiff.h"
8-
97namespace partdiff {
108
9+ template <typename T, typename U = std::underlying_type_t <T>>
10+ U to_underlying (T v) {
11+ return static_cast <U>(v);
12+ }
13+
14+ static constexpr uint64_t max_interlines = 10240 ;
15+ static constexpr uint64_t max_iteration = 200000 ;
16+ static constexpr uint64_t max_threads = 1024 ;
17+ static constexpr double min_accuracy = 1e-4 ;
18+ static constexpr double max_accuracy = 1e-20 ;
19+
1120 using calculation_method = calculation_options::calculation_method;
1221 using perturbation_function = calculation_options::perturbation_function;
1322 using termination_condition = calculation_options::termination_condition;
Original file line number Diff line number Diff line change 55 make
66
77format :
8- clang-format --style =file -i *.h *. cpp *.hpp
8+ clang-format --style =file -i *.cpp *.hpp
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments