Skip to content

Commit

Permalink
final updates for v 1.2.2
Browse files Browse the repository at this point in the history
  • Loading branch information
newville committed Jul 14, 2023
1 parent 555c29e commit 8b2038a
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
2 changes: 2 additions & 0 deletions doc/parameters.rst
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,8 @@ The :class:`Parameters` class
The :func:`create_params` function
==================================

.. versionadded:: 1.2.0

The :func:`create_params` function is probably the easiest method for making
:class:`Parameters` objects, as it allows defining Parameter names by keyword
with values either being the numerical initial value for the Parameter or being
Expand Down
4 changes: 2 additions & 2 deletions doc/whatsnew.rst
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ New features:
correlations) of the variable Parameters. (PR #888)

- Outputs of residual functions, including ``Model._residual``, are more
explicitly coerced to 1d-arrays of dataype Float64. This decreases the
explicitly coerced to 1d-arrays of datatype Float64. This decreases the
expectation for the user-supplied code to return ndarrays, and increases the
tolerance for more "array-like" objects or ndarrays that are not Float64 or
1-dimensional. (PR #899)
Expand Down Expand Up @@ -88,7 +88,7 @@ New features:
Bug fixes/enhancements:

- fix bug when setting ``param.vary=True`` for a constrained parameter (Issue #859; PR #860)
- fix bug in reported uncertainties for constrained parameters by better propating uncertainties (Issue #855; PR #856)
- fix bug in reported uncertainties for constrained parameters by better propagating uncertainties (Issue #855; PR #856)
- Coercing of user input data and independent data for ``Model`` to float64 ndarrays is somewhat less aggressive and
will not increase the precision of numpy ndarrays (see :ref:`model_data_coercion_section` for details). The resulting
calculation from a model or objective function is more aggressively coerced to float64. (Issue #850; PR #853)
Expand Down
2 changes: 1 addition & 1 deletion lmfit/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
* Many built-in models for common lineshapes are included and ready
to use.
Copyright (c) 2022 Lmfit Developers ; BSD-3 license ; see LICENSE
Copyright (c) 2023 Lmfit Developers ; BSD-3 license ; see LICENSE
"""
from asteval import Interpreter
Expand Down

0 comments on commit 8b2038a

Please sign in to comment.