Skip to content

Commit

Permalink
Merge v2.0.6 release
Browse files Browse the repository at this point in the history
  • Loading branch information
mdaeron committed May 13, 2023
2 parents 2400f21 + 4f4cc51 commit 09e45fa
Show file tree
Hide file tree
Showing 3 changed files with 6,295 additions and 6,299 deletions.
9 changes: 2 additions & 7 deletions D47crunch/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@
__contact__ = '[email protected]'
__copyright__ = 'Copyright (c) 2023 Mathieu Daëron'
__license__ = 'Modified BSD License - https://opensource.org/licenses/BSD-3-Clause'
__date__ = '2023-05-11'
__version__ = '2.0.5'
__date__ = '2023-05-13'
__version__ = '2.0.6'

import os
import numpy as np
Expand Down Expand Up @@ -855,16 +855,11 @@ def _fullcovar(minresult, epsilon = 0.01, named = False):

def f(values):
interp = asteval.Interpreter()
print(minresult.var_names, values)
for n,v in zip(minresult.var_names, values):
interp(f'{n} = {v}')
print(f'{n} = {v}')
for q in minresult.params:
print(q, minresult.params[q].expr)
if minresult.params[q].expr:
interp(f'{q} = {minresult.params[q].expr}')
print(f'{q} = {minresult.params[q].expr}')
print()
return np.array([interp.symtable[q] for q in minresult.params])

# construct Jacobian
Expand Down
6 changes: 6 additions & 0 deletions changelog.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# Changelog

## v2.0.6
*Released on 2023-05-13*

### Bugfix
* Eliminate some spurious debugging messages in `_fullcovar()`

## v2.0.5
*Released on 2023-05-11*

Expand Down
Loading

0 comments on commit 09e45fa

Please sign in to comment.