Skip to content

Commit

Permalink
Update src/plot_splines.jl
Browse files Browse the repository at this point in the history
Co-authored-by: Benedikt Ehinger <[email protected]>
  • Loading branch information
vladdez and behinger authored Sep 20, 2024
1 parent d7a7d90 commit 3c6c7c4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/plot_splines.jl
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ function plot_splines(

splFunction = Base.get_extension(Unfold, :UnfoldBSplineKitExt).splFunction
spl_ix = findall(isa.(terms, Unfold.AbstractSplineTerm))
@assert !isempty(spl_ix) "No spline term is found in UnfoldModel. Did you forget to provide spline a formula?"
@assert !isempty(spl_ix) "No spline term is found in UnfoldModel. Does your UnfoldModel really have a `spl(...)` or other `AbstractSplineTerm`?"

spline_terms = [terms[i] for i in spl_ix]
subplot_id = 1
Expand Down

0 comments on commit 3c6c7c4

Please sign in to comment.