Skip to content

Commit

Permalink
Update get_functions.jl
Browse files Browse the repository at this point in the history
  • Loading branch information
thorek1 authored Jan 8, 2024
1 parent 9cd33c2 commit aa6516b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/get_functions.jl
Original file line number Diff line number Diff line change
Expand Up @@ -2904,7 +2904,7 @@ function get_loglikelihood(𝓂::β„³,

observables_symbols = @ignore_derivatives observables isa String_input ? observables .|> Meta.parse .|> replace_indices : observables

@assert @ignore_derivatives length(setdiff(observables_symbols, 𝓂.var)) == 0 "The following symbols in the first axis of the conditions matrix are not part of the model: " * repr(setdiff(observables_symbols,𝓂.var))
@assert length(setdiff(observables_symbols, 𝓂.var)) == 0 "The following symbols in the first axis of the conditions matrix are not part of the model: " * repr(setdiff(observables_symbols,𝓂.var))

@ignore_derivatives sort!(observables)

Expand Down

0 comments on commit aa6516b

Please sign in to comment.