summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJaron Kent-Dobias <jaron@kent-dobias.com>2019-12-11 19:48:52 -0500
committerJaron Kent-Dobias <jaron@kent-dobias.com>2019-12-11 19:48:52 -0500
commit17d0c94edd1a4a60816bc22966fd7e462155172e (patch)
tree635863d6491de15c85ede37257036b39b30270c9
parent782148c25b456a6549e8b35bcf9710c7afe22425 (diff)
downloadcode-17d0c94edd1a4a60816bc22966fd7e462155172e.tar.gz
code-17d0c94edd1a4a60816bc22966fd7e462155172e.tar.bz2
code-17d0c94edd1a4a60816bc22966fd7e462155172e.zip
ran clang-format
-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) {