Skip to content
This repository has been archived by the owner on Oct 23, 2022. It is now read-only.

fixing the nightly builds #231

Merged
merged 2 commits into from
Jul 14, 2021
Merged

fixing the nightly builds #231

merged 2 commits into from
Jul 14, 2021

Conversation

galran
Copy link
Collaborator

@galran galran commented Jul 14, 2021

added the capability to supply a random generator to random direction generator (UniformCone) and the random rectangle position generator (RectUniform).
Added random generator to Spectrum.Uniform too.
Modified the emiiters tests to use the specific random number generator to produce trhe expected results.

this will allow us to define the correct generator using the tests regardless of any changes to the default random generator in the future.

… generator (UniformCone) and the rangom rectangle position generator (RectUniform).

this l allow us to define the correct generator using the tests regardless of any changes to the default random generator in the future.
@codecov-commenter
Copy link

codecov-commenter commented Jul 14, 2021

Codecov Report

Merging #231 (60750a6) into main (eae00a8) will increase coverage by 0.01%.
The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##             main     #231      +/-   ##
==========================================
+ Coverage   56.53%   56.54%   +0.01%     
==========================================
  Files          68       68              
  Lines        6444     6444              
==========================================
+ Hits         3643     3644       +1     
+ Misses       2801     2800       -1     
Impacted Files Coverage Δ
src/Optical/Emitters/Directions.jl 100.00% <100.00%> (ø)
src/Optical/Emitters/Origins.jl 100.00% <100.00%> (ø)
src/Optical/Emitters/Spectrum.jl 17.07% <100.00%> (ø)
src/Vis/Visualization.jl 7.45% <0.00%> (+0.20%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update eae00a8...60750a6. Read the comment docs.

… fixed the tests to use the specific generator we are expecting.
@galran galran changed the title fixing the nightly builds (please do not approve yet) fixing the nightly builds Jul 14, 2021
@BrianGun BrianGun merged commit ea55870 into main Jul 14, 2021
@BrianGun BrianGun deleted the galran/fixNightlyBuilds branch July 14, 2021 22:13
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants