Skip to content

Commit

Permalink
Removed incorrect inlines
Browse files Browse the repository at this point in the history
  • Loading branch information
dscolby committed Dec 15, 2024
1 parent 0bdcb77 commit 3060b32
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/model_validation.jl
Original file line number Diff line number Diff line change
Expand Up @@ -180,8 +180,8 @@ function covariate_independence(its::InterruptedTimeSeries; n=1000)
# covariates and time as independent variables
for i in axes(x, 2)
new_x, y = x[:, 1:end .!= i], x[:, i]
@inline β = last(new_x \ y)
@inline p = p_val(new_x, y, β; n=n)
β = last(new_x \ y)
p = p_val(new_x, y, β; n=n)
results["Column " * string(i) * " p-value"] = p
end
return results
Expand Down

0 comments on commit 3060b32

Please sign in to comment.