@@ -591,18 +591,18 @@ pub fn process_input_file<T: Geometry>(input: <T as Geometry>::InputFileFormat)
591591 Distributions :: POINT ( z) => z* length_unit,
592592 } ,
593593 ux : match cosx {
594- Distributions :: NORMAL { mean, std} => { let normal = Normal :: new ( mean, std) . unwrap ( ) ; normal. sample ( & mut rng) * length_unit } ,
595- Distributions :: UNIFORM { min, max} => { let uniform = Uniform :: new ( min, max) . unwrap ( ) ; uniform. sample ( & mut rng) * length_unit } ,
594+ Distributions :: NORMAL { mean, std} => { let normal = Normal :: new ( mean, std) . unwrap ( ) ; normal. sample ( & mut rng) } ,
595+ Distributions :: UNIFORM { min, max} => { let uniform = Uniform :: new ( min, max) . unwrap ( ) ; uniform. sample ( & mut rng) } ,
596596 Distributions :: POINT ( ux) => ux
597597 } ,
598598 uy : match cosy {
599- Distributions :: NORMAL { mean, std} => { let normal = Normal :: new ( mean, std) . unwrap ( ) ; normal. sample ( & mut rng) * length_unit } ,
600- Distributions :: UNIFORM { min, max} => { let uniform = Uniform :: new ( min, max) . unwrap ( ) ; uniform. sample ( & mut rng) * length_unit } ,
599+ Distributions :: NORMAL { mean, std} => { let normal = Normal :: new ( mean, std) . unwrap ( ) ; normal. sample ( & mut rng) } ,
600+ Distributions :: UNIFORM { min, max} => { let uniform = Uniform :: new ( min, max) . unwrap ( ) ; uniform. sample ( & mut rng) } ,
601601 Distributions :: POINT ( uy) => uy,
602602 } ,
603603 uz : match cosz {
604- Distributions :: NORMAL { mean, std} => { let normal = Normal :: new ( mean, std) . unwrap ( ) ; normal. sample ( & mut rng) * length_unit } ,
605- Distributions :: UNIFORM { min, max} => { let uniform = Uniform :: new ( min, max) . unwrap ( ) ; uniform. sample ( & mut rng) * length_unit } ,
604+ Distributions :: NORMAL { mean, std} => { let normal = Normal :: new ( mean, std) . unwrap ( ) ; normal. sample ( & mut rng) } ,
605+ Distributions :: UNIFORM { min, max} => { let uniform = Uniform :: new ( min, max) . unwrap ( ) ; uniform. sample ( & mut rng) } ,
606606 Distributions :: POINT ( uz) => uz,
607607 } ,
608608 interaction_index,
0 commit comments