Skip to content

Commit

Permalink
SnoopPrecomple -> PrecomipleTools (#82)
Browse files Browse the repository at this point in the history
SnoopPrecompile is effectively deprecated.
  • Loading branch information
timholy authored Jul 25, 2023
1 parent faac349 commit 07419bf
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions Project.toml
Original file line number Diff line number Diff line change
@@ -1,22 +1,22 @@
name = "NMF"
uuid = "6ef6ca0d-6ad7-5ff6-b225-e928bfa0a386"
license = "MIT"
version = "1.0.1"
version = "1.0.2"

[deps]
LinearAlgebra = "37e2e46d-f89d-539d-b4ee-838fcccc9c8e"
NonNegLeastSquares = "b7351bd1-99d9-5c5d-8786-f205a815c4d7"
PrecompileTools = "aea7be01-6a6a-4083-8856-8a6e6704d82a"
Printf = "de0858da-6303-5e67-8744-51eddeeeb8d7"
Random = "9a3f8284-a2c9-5f02-9a11-845980a1fd5c"
RandomizedLinAlg = "0448d7d9-159c-5637-8537-fd72090fea46"
SnoopPrecompile = "66db9d55-30c0-4569-8b51-7e840670fc0c"
Statistics = "10745b16-79ce-11e8-11f9-7d13ad32a3b2"
StatsBase = "2913bbd2-ae8a-5f71-8c99-4fb6c76f3a91"

[compat]
NonNegLeastSquares = "0.2.0, 0.3.0, 0.4.0"
RandomizedLinAlg = "0.1.0"
SnoopPrecompile = "1"
PrecompileTools = "1"
StatsBase = "0.25, 0.26, 0.27, 0.28, 0.29, 0.30, 0.31, 0.32, 0.33, 0.34"
julia = "1.6"

Expand Down
6 changes: 3 additions & 3 deletions src/NMF.jl
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,12 @@ module NMF

include("interf.jl")

using SnoopPrecompile
using PrecompileTools

let
@precompile_setup begin
@setup_workload begin
X = rand(8, 6)
@precompile_all_calls begin
@compile_workload begin
for alg in (:multmse, :multdiv, :projals, :alspgrad, :cd, :greedycd)
for init in (:random, :nndsvd, :nndsvda, :nndsvdar, :spa)
nnmf(X, 4, alg=alg, init=init)
Expand Down

2 comments on commit 07419bf

@timholy
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@JuliaRegistrator
Copy link

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/88342

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:

git tag -a v1.0.2 -m "<description of version>" 07419bf5de18db7a3f789af0da5397b4a03388f1
git push origin v1.0.2

Please sign in to comment.