Skip to content

Commit c146ad2

Browse files
GSoC 2025 final commit fr
1 parent 59e42e5 commit c146ad2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/advancedHMC_MCMC.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -436,7 +436,7 @@ function ahmc_bayesian_pinn_ode(
436436
# do the below only if estim_collocate is false, so that L2 loss dataset access is correct.
437437
if (length(dataset) < 3 || !(dataset isa Vector{<:Vector{<:AbstractFloat}})) &&
438438
!estim_collocate
439-
dataset = vcat(dataset, ones(length(dataset[end])))
439+
dataset = vcat(dataset, [ones(length(dataset[end]))])
440440
@info "Padding the dataset with a uniform W = 1 weights column."
441441
end
442442
end

0 commit comments

Comments
 (0)