Skip to content

Commit

Permalink
Merge branch 'raimo/test-cuddling' into maint
Browse files Browse the repository at this point in the history
* raimo/test-cuddling:
  Decrease probability for failed histogram
  • Loading branch information
RaimoNiskanen committed Oct 3, 2018
2 parents 133572e + 39b149e commit 18a742f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/stdlib/test/rand_SUITE.erl
Original file line number Diff line number Diff line change
Expand Up @@ -475,10 +475,11 @@ stats_standard_normal_box_muller_2(Config) when is_list(Config) ->


stats_standard_normal(Config) when is_list(Config) ->
Retries = 7,
try math:erfc(1.0) of
_ ->
stats_standard_normal(
fun rand:normal_s/1, rand:seed_s(exrop), 3)
fun rand:normal_s/1, rand:seed_s(exrop), Retries)
catch error:_ ->
{skip, "math:erfc/1 not supported"}
end.
Expand Down

0 comments on commit 18a742f

Please sign in to comment.