a-conjecture-of-mine

An exercise on polyglossy: the same problem solved on multiple languages

commit 994bfc08df44c1371d43323b5837199354295807
parent 8ebd35163abf4f000033a3c1f667edc53fffc195
Author: Pablo Emílio Escobar Gaviria <pablo-escobar@riseup.net>
Date:   Sat,  8 Aug 2020 17:49:02 -0300

Removed irrelevant files from .gitignore

Diffstat:
M.gitignore | 4----
Mc++/main.cpp | 11+++++++++--
2 files changed, 9 insertions(+), 6 deletions(-)
diff --git a/.gitignore b/.gitignore
@@ -1,7 +1,3 @@
-*.img
-*.IMG
 *.beam
 *.jar
 bin
-latex
-cuda
diff --git a/c++/main.cpp b/c++/main.cpp
@@ -65,11 +65,18 @@ int main(int argc, char *argv[])
         // Distributes calculations across threads evenlly
         for (int i = 0; i < n_threads; i++)
         {
-            auto thread = std::thread(get_counterexpl_thread, i, max, n_threads);
+            auto thread = std::thread(get_counterexpl_thread, 
+                                      i, 
+                                      max, 
+                                      n_threads);
             thread.join();
         }
 
         return SUCCESS;
+    } 
+    else 
+    {
+        return INVALID_INPUT;
     }
-    else return INVALID_INPUT;
 }
+