Skip to content

Commit

Permalink
Merge ea4cb05 into 059066a
Browse files Browse the repository at this point in the history
  • Loading branch information
femtocleaner[bot] committed Aug 16, 2018
2 parents 059066a + ea4cb05 commit 23ecf99
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/local_approximation_vi.jl
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@ mutable struct LocalApproximationValueIterationSolver{I<:LocalFunctionApproximat
end

# Default constructor
function LocalApproximationValueIterationSolver{I<:LocalFunctionApproximator, RNG<:AbstractRNG}(interp::I;
max_iterations::Int64=100, belres::Float64=1e-3,
verbose::Bool=false, rng::RNG=Base.GLOBAL_RNG,
is_mdp_generative::Bool=false, n_generative_samples::Int64=0)
function LocalApproximationValueIterationSolver(interp::I;
max_iterations::Int64=100, belres::Float64=1e-3,
verbose::Bool=false, rng::RNG=Base.GLOBAL_RNG,
is_mdp_generative::Bool=false, n_generative_samples::Int64=0) where {I<:LocalFunctionApproximator, RNG<:AbstractRNG}
return LocalApproximationValueIterationSolver(interp,max_iterations, belres, verbose, rng, is_mdp_generative, n_generative_samples)
end

Expand Down

0 comments on commit 23ecf99

Please sign in to comment.