To receive notifications about scheduled maintenance, please subscribe to the mailing-list gitlab-operations@sympa.ethz.ch. You can subscribe to the mailing-list at https://sympa.ethz.ch

utils.jl 352 Bytes
Newer Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# using Test
# using Revise
# using ABMEv
# using UnPack
#
# b(X) = gaussian(X[1],0.,sigma_K)
# d(X,Y) = gaussian(X[1],Y[1],sigma_a)/K0
# p = Dict{String,Any}();@pack! p = d,b
# X = [.5]; Y = [.6];t = 0.
# _correct_timedep(p)
# @testset "Utils" begin
#     @test numargs(ABMEv.d) == 3
#     @test numargs(ABMEv.b) == 2
#     ABMEv.b(X,t) == b(X)
# end