Skip to content

Commit 4827d2b

Browse files
fix bugs introduced by copilot
1 parent 31594c9 commit 4827d2b

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/chainconsumer/analysis.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -586,7 +586,7 @@ def get_parameter_hdi_intervals(self, chain: Chain, column: ColumnName) -> list[
586586
"""
587587
summary = self.get_parameter_summary_hdi(chain, column)
588588
default_interval = [(summary.lower, summary.upper)]
589-
xs, ys, _ = self._get_smoothed_histogram(chain, column, pad=True, use_kde=chain.use_kde)
589+
xs, ys, _ = self._get_smoothed_histogram(chain, column, pad=True)
590590

591591
# We look for the threshold that is the root of this function
592592
def mass_diff(threshold, density, xs, target):
@@ -626,7 +626,6 @@ def get_parameter_multimodal_bounds(
626626
chain,
627627
column,
628628
pad=True,
629-
use_kde=None, # Use default KDE setting for both unimodal and multimodal chains for consistency
630629
)
631630

632631
lower_limit, upper_limit = float(xs.min()), float(xs.max())

0 commit comments

Comments
 (0)