summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--hadamard.cpp3
-rw-r--r--hadamard_pt.hpp3
2 files changed, 3 insertions, 3 deletions
diff --git a/hadamard.cpp b/hadamard.cpp
index 076458f..74a8f3f 100644
--- a/hadamard.cpp
+++ b/hadamard.cpp
@@ -141,7 +141,8 @@ int main(int argc, char* argv[]) {
std::string rs_string = "";
for (range r : rs) {
- rs_string += "_" + std::to_string(r.β0) + "_" + std::to_string(r.β1) + "_" + std::to_string(r.N);
+ rs_string +=
+ "_" + std::to_string(r.β0) + "_" + std::to_string(r.β1) + "_" + std::to_string(r.N);
}
std::string filename = "probs_" + std::to_string(n) + rs_string + ".dat";
diff --git a/hadamard_pt.hpp b/hadamard_pt.hpp
index 0b32908..dad635f 100644
--- a/hadamard_pt.hpp
+++ b/hadamard_pt.hpp
@@ -29,8 +29,7 @@ public:
ParallelMeasurement& B;
std::vector<Measurement*>& As;
- PT(std::list<range> ranges, unsigned n, ParallelMeasurement& B,
- std::vector<Measurement*>& As)
+ PT(std::list<range> ranges, unsigned n, ParallelMeasurement& B, std::vector<Measurement*>& As)
: B(B), As(As) {
unsigned count = 0;
for (range r : ranges) {