Skip to content

Commit

Permalink
Enable precompilation
Browse files Browse the repository at this point in the history
  • Loading branch information
Miguel Bazdresch committed Apr 25, 2023
1 parent b42a826 commit 97365de
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/SinusoidalRegressions.jl
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ Convert polar coordinates to rectangular coordinates `(y, x)` where ``x = M\\cos
``y = -M\\sin(θ)``
"""
torect(M, θ) = (-M*sin(θ), M*cos(θ))
#=

## Precompilation
@setup_workload begin
x = [-1.983, -1.948, -1.837, -1.827, -1.663, -0.815, -0.778, -0.754, -0.518, 0.322, 0.418, 0.781,
Expand All @@ -162,5 +162,5 @@ torect(M, θ) = (-M*sin(θ), M*cos(θ))
t6 = mixlinsinfit(x, y, t5)
end
end
=#

end # module

0 comments on commit 97365de

Please sign in to comment.