Skip to content

Commit

Permalink
Prepare for v0.5.0
Browse files Browse the repository at this point in the history
  • Loading branch information
bjodah committed Feb 7, 2017
1 parent b4ca8aa commit 1e77350
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions CHANGES.rst
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
unreleased
==========
v0.5.0
======
- ``.electrochemistry.nernst_formula`` - thanks to Adel Qalieh (@adelq)
- moved ``.util.parsing.number_to_scientific_*`` to ``.printing(.numbers)``
- Number formating now handles uncertainties.
Expand Down
2 changes: 1 addition & 1 deletion chempy/util/regression.py
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ def least_squares(x, y, w=1): # w == 1 => OLS, w != 1 => WLS
"""
sqrtw = np.sqrt(w)
Y = y * sqrtw
Y = np.asarray(y, dtype=np.float64) * sqrtw
_x = np.asarray(x)
X = np.ones((_x.size, 2))
X[:, 1] = x
Expand Down

0 comments on commit 1e77350

Please sign in to comment.