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

Commit

Permalink
Merge branch 'main' into fix/asos-parameters
Browse files Browse the repository at this point in the history
  • Loading branch information
alfredclwong authored May 13, 2021
2 parents e78b0b2 + 13844d1 commit 15814af
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/Optical/Emitters/Sources.jl
Original file line number Diff line number Diff line change
Expand Up @@ -68,11 +68,11 @@ struct Source{

function Source(
::Type{T} = Float64;
transform::Tr = Transform(),
spectrum::S = Spectrum.Uniform(),
origins::O = Origins.Point(),
directions::D = Directions.Constant(),
power::P = AngularPower.Lambertian(),
transform::Tr = Transform(T),
spectrum::S = Spectrum.Uniform(T),
origins::O = Origins.Point(T),
directions::D = Directions.Constant(T),
power::P = AngularPower.Lambertian(T),
sourcenum::Integer = 0
) where {
Tr<:Transform,
Expand Down

0 comments on commit 15814af

Please sign in to comment.