Skip to content

Commit

Permalink
MCMC FJC
Browse files Browse the repository at this point in the history
  • Loading branch information
mrbuche committed Dec 5, 2023
1 parent 51c305f commit ab96eff
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,10 @@ def pytest_collection_finish(session):
run(
['sed', '-i', 's@: test@@', '__pycache__/cargo.tests']
)
# remove monte carlo tests
run(
['sed', '-i', '-r', '/monte/d', '__pycache__/cargo.tests']
)
f = open("__pycache__/julia.tests", "w")
run(
['grep', '-r', '@testset', 'src/'],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ mod test;

use rand::prelude::*;

const TWO_PI: f64 = 6.283_185_307_179_586;
use std::f64::consts::TAU as TWO_PI;

pub fn random_configuration<const NUMBER_OF_LINKS: usize>(rng: &mut ThreadRng) -> [[f64; 3]; NUMBER_OF_LINKS]
{
Expand Down

0 comments on commit ab96eff

Please sign in to comment.