Fixed missed default token
This commit is contained in:
		
							parent
							
								
									7d224e3832
								
							
						
					
					
						commit
						d9aa453003
					
				@ -34,7 +34,7 @@ namespace FastRng.Double.Distributions
 | 
				
			|||||||
            }
 | 
					            }
 | 
				
			||||||
        }
 | 
					        }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        public async ValueTask<double> GetDistributedValue(CancellationToken token)
 | 
					        public async ValueTask<double> GetDistributedValue(CancellationToken token = default)
 | 
				
			||||||
        {
 | 
					        {
 | 
				
			||||||
            if (this.Random == null)
 | 
					            if (this.Random == null)
 | 
				
			||||||
                return System.Double.NaN;
 | 
					                return System.Double.NaN;
 | 
				
			||||||
 | 
				
			|||||||
@ -24,7 +24,7 @@ namespace FastRng.Double.Distributions
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
        public double Median { get; set; } = 0.0;
 | 
					        public double Median { get; set; } = 0.0;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        public async ValueTask<double> GetDistributedValue(CancellationToken token)
 | 
					        public async ValueTask<double> GetDistributedValue(CancellationToken token = default)
 | 
				
			||||||
        {
 | 
					        {
 | 
				
			||||||
            if (this.Random == null)
 | 
					            if (this.Random == null)
 | 
				
			||||||
                return System.Double.NaN;
 | 
					                return System.Double.NaN;
 | 
				
			||||||
 | 
				
			|||||||
@ -26,7 +26,7 @@ namespace FastRng.Double.Distributions
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
        public double Scale { get; set; } = 1.0;
 | 
					        public double Scale { get; set; } = 1.0;
 | 
				
			||||||
        
 | 
					        
 | 
				
			||||||
        public async ValueTask<double> GetDistributedValue(CancellationToken token)
 | 
					        public async ValueTask<double> GetDistributedValue(CancellationToken token = default)
 | 
				
			||||||
        {
 | 
					        {
 | 
				
			||||||
            if (this.Random == null)
 | 
					            if (this.Random == null)
 | 
				
			||||||
                return System.Double.NaN;
 | 
					                return System.Double.NaN;
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
		Reference in New Issue
	
	Block a user