Skip to content

Commit a6584c4

Browse files
formatting
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
1 parent b60aaec commit a6584c4

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

src/debug_utils.jl

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -690,13 +690,13 @@ function model_warntype(
690690
model::Model,
691691
varinfo::AbstractVarInfo=VarInfo(model),
692692
context::AbstractContext=DefaultContext();
693-
optimize::Bool=false
693+
optimize::Bool=false,
694694
)
695695
args, kwargs = DynamicPPL.make_evaluate_args_and_kwargs(model, varinfo, context)
696696
return if isempty(kwargs)
697-
InteractiveUtils.@code_warntype optimize=optimize model.f(args...)
697+
InteractiveUtils.@code_warntype optimize = optimize model.f(args...)
698698
else
699-
InteractiveUtils.@code_warntype optimize=optimize model.f(args...; kwargs...)
699+
InteractiveUtils.@code_warntype optimize = optimize model.f(args...; kwargs...)
700700
end
701701
end
702702

@@ -711,13 +711,13 @@ function model_typed(
711711
model::Model,
712712
varinfo::AbstractVarInfo=VarInfo(model),
713713
context::AbstractContext=DefaultContext();
714-
optimize::Bool=true
714+
optimize::Bool=true,
715715
)
716716
args, kwargs = DynamicPPL.make_evaluate_args_and_kwargs(model, varinfo, context)
717717
return if isempty(kwargs)
718-
InteractiveUtils.@code_typed optimize=optimize model.f(args...)
718+
InteractiveUtils.@code_typed optimize = optimize model.f(args...)
719719
else
720-
InteractiveUtils.@code_typed optimize=optimize model.f(args...; kwargs...)
720+
InteractiveUtils.@code_typed optimize = optimize model.f(args...; kwargs...)
721721
end
722722
end
723723

0 commit comments

Comments
 (0)