We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 18626ff commit 86c1ffcCopy full SHA for 86c1ffc
1 file changed
src/begrun.cpp
@@ -7,14 +7,14 @@
7
#include "../argparse/argparse.hpp"
8
#include <iostream>
9
#include <fstream>
10
-#include <omp>
+#include <omp.h>
11
12
int main(int argc, char** argv)
13
{
14
auto args = next::parse_arguments(argc, argv);
15
16
- omp::set_num_threads(args.threads);
17
- std::cout << "Using: " << args.threads << "threads/n";
+ omp_set_num_threads(args.threads);
+ std::cout << "Using: " << args.threads << "threads\n";
18
19
std::vector<Particle> particles = LoadParticlesFromFile(args.input_file);
20
0 commit comments