mirror of
				https://github.com/fjosw/pyerrors.git
				synced 2025-11-04 01:25:46 +01:00 
			
		
		
		
	Merge branch 'develop' into documentation
This commit is contained in:
		
				commit
				
					
						9072f922f0
					
				
			
		
					 1 changed files with 3 additions and 3 deletions
				
			
		| 
						 | 
					@ -180,7 +180,7 @@ def total_least_squares(x, y, func, silent=False, **kwargs):
 | 
				
			||||||
    for i in range(42):
 | 
					    for i in range(42):
 | 
				
			||||||
        try:
 | 
					        try:
 | 
				
			||||||
            func(np.arange(i), x.T[0])
 | 
					            func(np.arange(i), x.T[0])
 | 
				
			||||||
        except Exception:
 | 
					        except (IndexError, TypeError) as e:
 | 
				
			||||||
            continue
 | 
					            continue
 | 
				
			||||||
        else:
 | 
					        else:
 | 
				
			||||||
            break
 | 
					            break
 | 
				
			||||||
| 
						 | 
					@ -322,7 +322,7 @@ def _prior_fit(x, y, func, priors, silent=False, **kwargs):
 | 
				
			||||||
    for i in range(100):
 | 
					    for i in range(100):
 | 
				
			||||||
        try:
 | 
					        try:
 | 
				
			||||||
            func(np.arange(i), 0)
 | 
					            func(np.arange(i), 0)
 | 
				
			||||||
        except Exception:
 | 
					        except (IndexError, TypeError) as e:
 | 
				
			||||||
            continue
 | 
					            continue
 | 
				
			||||||
        else:
 | 
					        else:
 | 
				
			||||||
            break
 | 
					            break
 | 
				
			||||||
| 
						 | 
					@ -449,7 +449,7 @@ def _standard_fit(x, y, func, silent=False, **kwargs):
 | 
				
			||||||
    for i in range(42):
 | 
					    for i in range(42):
 | 
				
			||||||
        try:
 | 
					        try:
 | 
				
			||||||
            func(np.arange(i), x.T[0])
 | 
					            func(np.arange(i), x.T[0])
 | 
				
			||||||
        except Exception:
 | 
					        except (IndexError, TypeError) as e:
 | 
				
			||||||
            continue
 | 
					            continue
 | 
				
			||||||
        else:
 | 
					        else:
 | 
				
			||||||
            break
 | 
					            break
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue