# Nightly build CI failing because rand(UnitRange) changed (when to care?)

**URL:** <https://discourse.julialang.org/t/nightly-build-ci-failing-because-rand-unitrange-changed-when-to-care/49857>\
**Category:** New to Julia\
**Created:** [November 9, 2020, 5:35pm UTC](https://discourse.julialang.org/t/nightly-build-ci-failing-because-rand-unitrange-changed-when-to-care/49857 "2020-11-09T17:35:28Z")\
**Posts on this page:** 1\
**Showing post:** 12

<div class="post-metadata">

**Author:** ![lmiq](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/lmiq/32/18314_2.png) [@lmiq](https://discourse.julialang.org/u/lmiq)\
**Post date:** [November 9, 2020, 7:54pm UTC](https://discourse.julialang.org/t/nightly-build-ci-failing-because-rand-unitrange-changed-when-to-care/49857/12 "2020-11-09T19:54:41Z")

</div>

It is a little bit more complicated here, I think. I created a new thread:

> [@Defining const inside struct](https://discourse.julialang.org/t/defining-const-inside-struct/49866):
>
> This is a follow-up of this thread, which ended with this new issue I am not sure how to solve: [https://discourse.julialang.org/t/nightly-build-ci-failing-because-rand-unitrange-changed-when-to-care/49857/10](https://discourse.julialang.org/t/nightly-build-ci-failing-because-rand-unitrange-changed-when-to-care/49857/10) The issue is the following: The usage of my package starts with the user defining a series of options which are organized in a struct. Now I want to add to that struct the possibility of the user defining which is the random number generator to be used. I am using Parameters, so I have def…

There may be a smart solution which I am missing, though.

---

_[View the full topic](https://discourse.julialang.org/t/nightly-build-ci-failing-because-rand-unitrange-changed-when-to-care/49857)._
