mirror of
https://github.com/cosmo-sims/monofonIC.git
synced 2024-09-19 17:03:45 +02:00
removed one more compiler warning in panphasia that was due to undefined behaviour
This commit is contained in:
parent
ac2db23325
commit
f053b86316
1 changed files with 2 additions and 1 deletions
|
@ -465,7 +465,8 @@ void return_uniform_pseudo_rands_threefry4x64_(size_t l, size_t j1, size_t j2, s
|
|||
{
|
||||
replacement_value *= branching_ratio;
|
||||
counter++;
|
||||
jind = (++jind) % 8;
|
||||
// jind = (++jind) % 8;
|
||||
jind = (jind+1)%8;
|
||||
new_value = (((double)out_int[jind] + g_shift) * g_scale);
|
||||
};
|
||||
replacement_value *= new_value;
|
||||
|
|
Loading…
Reference in a new issue