Skip to content
This repository has been archived by the owner on Apr 16, 2024. It is now read-only.

Commit

Permalink
Merge pull request #6 from mpewsey/Update
Browse files Browse the repository at this point in the history
Update
  • Loading branch information
mpewsey authored Jun 4, 2019
2 parents 03f6e90 + 70bc7ff commit 472d086
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion error_solver/solvers/_base_error_solver.py
Original file line number Diff line number Diff line change
Expand Up @@ -117,9 +117,10 @@ def solve(self, values, errors, const={}, combo=None, check=True, stdev=False):
n, m = len(val), len(err)

xk = np.array([errors[k] for k in err], dtype='float').reshape(-1, 1)
jac = np.abs(self.jacobian(values, errors, combo))
jac = self.jacobian(values, errors, combo)
ju, jk = jac[:,:n], jac[:,n:n+m]
jui = np.abs(np.linalg.inv(ju))
ju, jk = np.abs(ju), np.abs(jk)

if const:
ck = np.array([const.get(k, 0) for k in err], dtype='float').reshape(-1, 1)
Expand Down
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ universal = 1
[metadata]
project = Error Solver
name = error_solver
version = 2.1.0
version = 2.1.1
author = Matt Pewsey
copyright = 2018-2019, Matt Pewsey
description = Estimates propagation error tolerances for systems of equations.
Expand Down

0 comments on commit 472d086

Please sign in to comment.