Skip to content

Commit 934d740

Browse files
refactor: warning message
1 parent 04db7c3 commit 934d740

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pymc_extras/model/marginal/distributions.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -508,7 +508,7 @@ def laplace_marginal_rv_logp(op: MarginalLaplaceRV, values, *inputs, **kwargs):
508508
# A more robust method of obtaining d would be ideal.
509509
if len(values) > 1:
510510
warnings.warn(
511-
f"INLA assumes that the latent field {marginalized_vv.name} is of the same shape as the observables, however more than one input value to the logp was provided."
511+
f"INLA assumes that the latent field {marginalized_vv.name} is of the same dimension as the observables and that there is only one observable, however more than one input value to the logp was provided."
512512
)
513513
d = values[0].data.shape[-1]
514514
rng = np.random.default_rng(op.minimizer_seed)

0 commit comments

Comments
 (0)