Skip to content

Commit

Permalink
respect show_progress args for observable calculations
Browse files Browse the repository at this point in the history
  • Loading branch information
DM-Berger committed Sep 26, 2022
1 parent dc4034a commit 2e8485e
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion empyricalRMT/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = "1.1.0"
__version__ = "1.1.1"
2 changes: 1 addition & 1 deletion empyricalRMT/observables/levelvariance.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ def level_number_variance(
tol=tol,
max_iters=AUTO_MAX_ITERS,
min_iters=MIN_ITERS * 10,
show_progress=True,
show_progress=show_progress,
)[
1:
] # type: ignore
Expand Down
2 changes: 1 addition & 1 deletion empyricalRMT/observables/rigidity.py
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ def spectral_rigidity(
min_iters=10 * MIN_ITERS, # also safety
tol=tol,
use_simpson=integration != "trapz",
show_progress=True,
show_progress=show_progress,
)[1:]
max_iters = int(max_iters * 2) # precaution
if not success:
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ known_local_folder = ["empyricalRMT", "src", "test", "tests"]

[tool.poetry]
name = "empyricalrmt"
version = "1.1.0"
version = "1.1.1"
description = "Eigenvalue unfolding and spectral observable computation"
authors = ["Derek M Berger <dmberger.dev@gmail.com>"]
readme = "README.md"
Expand Down

0 comments on commit 2e8485e

Please sign in to comment.