Skip to content

Commit d94a5bd

Browse files
authored
Merge pull request #8 from JuliaSNN/dev
removed precompilation warning
2 parents fa66303 + 64c4ea3 commit d94a5bd

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

src/stimulus/current_stim.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ end
1818
end
1919

2020

21-
function CurrentStimulus(post::T; cells=:ALL, α::R2=1, I_base = 10pA, kwargs...) where {T <: AbstractPopulation, R<:Real, R2<:Real}
21+
function CurrentStimulus(post::T; cells=:ALL, α::R=1, I_base = 10pA, kwargs...) where {T <: AbstractPopulation, R<:Real}
2222
if cells == :ALL
2323
cells = 1:post.N
2424
end

src/synapse/sparse_plasticity/STDP.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Define the struct to hold synapse parameters for both Exponential and Mexican Hat STDP
22
# STDP Parameters Structure
3-
using Documenter: @doc_str
3+
using Documenter
44
abstract type STDPAbstractParameter <: SpikingSynapseParameter end
55

66
##################################################################################################

src/util.jl

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -352,7 +352,6 @@ function remove_element(model, key)
352352
merge_models(pop, syn, stim)
353353
end
354354

355-
load_data(;path="", name="", info=nothing) = load_data(path, name, info)
356355

357356
function load_data(path="", name=nothing, info=nothing)
358357
isfile(path) && (return dict2ntuple(DrWatson.load(path)))
@@ -365,6 +364,8 @@ function load_data(path="", name=nothing, info=nothing)
365364
return dict2ntuple(DATA)
366365
end
367366

367+
# load_data(path=""; name="", info=nothing) = load_data(path, name, info)
368+
368369
function load_model(path="", name=nothing, info=nothing)
369370
isfile(path) && (return dict2ntuple(DrWatson.load(path)))
370371
if isnothing(name)

0 commit comments

Comments
 (0)