Skip to content

Commit

Permalink
fixed randomization (#90)
Browse files Browse the repository at this point in the history
* fixed randomization

* formatting
  • Loading branch information
Mast3rwaf1z authored May 20, 2024
1 parent 00550e4 commit 331c960
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion lib/argparse
4 changes: 4 additions & 0 deletions src/backend.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
#include <time.h>
#include <ranges>
#include <cstdlib>
#include <future>
#include <iostream>
#include <argparse/argparse.hpp>
Expand Down Expand Up @@ -52,6 +54,8 @@ Mode to_mode(string input) {
}

int main(int argc, char* argv[]) {
// set random seed
srand(time(0));
argparse::ArgumentParser program("backend");
program.add_argument("-v", "--verbose")
.help("Increase verbosity")
Expand Down

0 comments on commit 331c960

Please sign in to comment.