Skip to content

Commit

Permalink
Change for parameter generation. New version
Browse files Browse the repository at this point in the history
  • Loading branch information
Azzaare committed Nov 2, 2022
1 parent c70d614 commit b5045b2
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 9 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/TagBot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,4 @@ jobs:
- uses: JuliaRegistries/TagBot@v1
with:
token: ${{ secrets.GITHUB_TOKEN }}
ssh: ${{ secrets.DOCUMENTER_KEY }}
ssh: ${{ secrets.DOCUMENTER_KEY }}
4 changes: 3 additions & 1 deletion Project.toml
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
name = "CompositionalNetworks"
uuid = "4b67e4b5-442d-4ef5-b760-3f5df3a57537"
authors = ["Jean-François Baffier"]
version = "0.5.1"
version = "0.5.2"

[deps]
ConstraintCommons = "e37357d9-0691-492f-a822-e5ea6a920954"
ConstraintDomains = "5800fd60-8556-4464-8d61-84ebf7a0bedb"
Dictionaries = "85a47980-9c8c-11e8-2b9f-f7ca1fa99fb4"
Distances = "b4f34e82-e78d-54a5-968a-f98e89d6e8f7"
Expand All @@ -14,6 +15,7 @@ ThreadSafeDicts = "4239201d-c60e-5e0a-9702-85d713665ba7"
Unrolled = "9602ed7d-8fef-5bc8-8597-8f21381861e8"

[compat]
ConstraintCommons = "0.1"
ConstraintDomains = "0.3"
Dictionaries = "0.3"
Distances = "0.10"
Expand Down
4 changes: 1 addition & 3 deletions src/CompositionalNetworks.jl
Original file line number Diff line number Diff line change
@@ -1,15 +1,13 @@
module CompositionalNetworks

# Usings
using ConstraintCommons
using ConstraintDomains
using Dictionaries
import Distances
# using Evolutionary
using JuliaFormatter
# using Memoization
using OrderedCollections
using Random
# using ThreadPools
using ThreadSafeDicts
using Unrolled

Expand Down
4 changes: 0 additions & 4 deletions src/utils.jl
Original file line number Diff line number Diff line change
Expand Up @@ -77,10 +77,6 @@ function reduce_symbols(symbols, sep, parenthesis=true; prefix="")
return parenthesis ? "[$str]" : str
end

function incsert!(d::Dictionary, ind)
return set!(d, ind, isassigned(d, ind) ? d[ind] + 1 : 1)
end

@unroll function tr_in(tr, X, x, param)
@unroll for i in 1:length(tr)
tr[i](x, @view(X[:, i]); param)
Expand Down

0 comments on commit b5045b2

Please sign in to comment.