Skip to content

Commit 511df87

Browse files
add arg to put dict (#422)
* add arg to put dict * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * [pre-commit.ci] pre-commit autoupdate (#421) updates: - [github.com/asottile/pyupgrade: v2.25.0 → v2.26.0](asottile/pyupgrade@v2.25.0...v2.26.0) - [github.com/psf/black: 21.8b0 → 21.9b0](psf/black@21.8b0...21.9b0) Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
1 parent 19b9602 commit 511df87

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

.pre-commit-config.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ repos:
1010
- id: debug-statements
1111
- id: end-of-file-fixer
1212
- repo: https://github.com/asottile/pyupgrade
13-
rev: v2.25.0
13+
rev: v2.26.0
1414
hooks:
1515
- id: pyupgrade
1616
args: [--py36-plus]
@@ -19,7 +19,7 @@ repos:
1919
hooks:
2020
- id: reorder-python-imports
2121
- repo: https://github.com/psf/black
22-
rev: 21.8b0
22+
rev: 21.9b0
2323
hooks:
2424
- id: black
2525
- repo: https://github.com/asottile/blacken-docs

respy/method_of_simulated_moments.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -238,6 +238,7 @@ def moment_errors(
238238
if not return_scalar:
239239
out = {
240240
"value": out,
241+
"moment_errors": moment_errors,
241242
"root_contributions": moment_errors @ np.sqrt(weighting_matrix),
242243
"comparison_plot_data": _create_comparison_plot_data_msm(
243244
empirical_moments, simulated_moments

0 commit comments

Comments
 (0)