Skip to content

Commit ff29143

Browse files
Jammy2211Jammy2211
authored andcommitted
fix: skip latent computation without keys
1 parent ff8ebd6 commit ff29143

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

autofit/non_linear/analysis/latent.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,9 @@ def latent_samples_from(
102102
)
103103
keys = latent.keys(analysis)
104104

105+
if not keys:
106+
return None
107+
105108
try:
106109

107110
start_latent = time.time()

0 commit comments

Comments
 (0)