Skip to content

Commit 3d90e91

Browse files
committed
fix typos
1 parent 8971780 commit 3d90e91

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

bayesflow/amortizers.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -412,7 +412,7 @@ def _compute_summary_condition(self, summary_conditions, direct_conditions, **kw
412412
elif direct_conditions is not None:
413413
full_cond = direct_conditions
414414
else:
415-
raise SummaryStatsError("Could not concatenarte or determine conditioning inputs...")
415+
raise SummaryStatsError("Could not concatenate or determine conditioning inputs...")
416416
return sum_condition, full_cond
417417

418418
def _determine_latent_dist(self, latent_dist):

bayesflow/helper_networks.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -332,7 +332,7 @@ def __init__(self, latent_dim, act_norm_init, **kwargs):
332332

333333
super().__init__(**kwargs)
334334

335-
# Initialize scale and bias with zeros and ones if no batch for initalization was provided.
335+
# Initialize scale and bias with zeros and ones if no batch for initialization was provided.
336336
if act_norm_init is None:
337337
self.scale = tf.Variable(tf.ones((latent_dim,)), trainable=True, name="act_norm_scale")
338338

0 commit comments

Comments
 (0)