Skip to content

Commit 86c1ffc

Browse files
Update begrun.cpp
1 parent 18626ff commit 86c1ffc

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

src/begrun.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,14 +7,14 @@
77
#include "../argparse/argparse.hpp"
88
#include <iostream>
99
#include <fstream>
10-
#include <omp>
10+
#include <omp.h>
1111

1212
int main(int argc, char** argv)
1313
{
1414
auto args = next::parse_arguments(argc, argv);
1515

16-
omp::set_num_threads(args.threads);
17-
std::cout << "Using: " << args.threads << "threads/n";
16+
omp_set_num_threads(args.threads);
17+
std::cout << "Using: " << args.threads << "threads\n";
1818

1919
std::vector<Particle> particles = LoadParticlesFromFile(args.input_file);
2020

0 commit comments

Comments
 (0)