mirror of
				https://github.com/fjosw/pyerrors.git
				synced 2025-10-30 23:35:45 +01:00 
			
		
		
		
	tests: nan obs test added.
This commit is contained in:
		
					parent
					
						
							
								3b773b7b52
							
						
					
				
			
			
				commit
				
					
						8bc204fc31
					
				
			
		
					 1 changed files with 6 additions and 0 deletions
				
			
		|  | @ -1146,3 +1146,9 @@ def test_non_overlapping_operations_different_lengths(): | |||
| 
 | ||||
|         assert np.isclose(res1.value, res2.value) | ||||
|         assert np.isclose(res1.dvalue, res2.dvalue, rtol=0.01) | ||||
| 
 | ||||
| 
 | ||||
| def test_nan_obs(): | ||||
|     o = pe.pseudo_Obs(1, .1, 'test') | ||||
|     no = np.nan * o | ||||
|     no.gamma_method() | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue