-
Notifications
You must be signed in to change notification settings - Fork 53
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Export norm * Remove unnecesary using LinearAlgebra * Bump patch version --------- Co-authored-by: Luis Benet <[email protected]>
- Loading branch information
Showing
6 changed files
with
44 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
# This file is part of the TaylorSeries.jl Julia package, MIT license | ||
# | ||
# Luis Benet & David P. Sanders | ||
# UNAM | ||
# | ||
# MIT Expat license | ||
# | ||
|
||
using PrecompileTools | ||
|
||
@setup_workload begin | ||
# Putting some things in `@setup_workload` instead of `@compile_workload` can reduce the size of the | ||
# precompile file and potentially make loading faster. | ||
t = Taylor1(20) | ||
δ = set_variables("δ", order=6, numvars=2) | ||
tN = one(δ[1]) + Taylor1(typeof(δ[1]), 20) | ||
# tb = Taylor1(Float128, 20) | ||
# δb = zero(Float128) .+ δ | ||
# tbN = one(δb[1]) + Taylor1(typeof(δb[1]), 20) | ||
# | ||
@compile_workload begin | ||
# all calls in this block will be precompiled, regardless of whether | ||
# they belong to your package or not (on Julia 1.8 and higher) | ||
for x in (:t, :tN) | ||
@eval begin | ||
T = numtype($x) | ||
zero($x) | ||
sin($x) | ||
cos($x) | ||
$x/sqrt($x^2+(2*$x)^2) | ||
evaluate(($x)^3, 0.125) | ||
($x)[2] | ||
end | ||
end | ||
end | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ff1f680
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@JuliaRegistrator register
ff1f680
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Registration pull request created: JuliaRegistries/General/86135
After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.
This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via: