Skip to content

Commit

Permalink
Update DIVAnd_conditionner.jl
Browse files Browse the repository at this point in the history
  • Loading branch information
jmbeckers committed Dec 7, 2023
1 parent 64e9d73 commit eb0a8fd
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/DIVAnd_conditionner.jl
Original file line number Diff line number Diff line change
Expand Up @@ -153,6 +153,7 @@ function DIVAndFFTpcg(mask,pmn,xyi,xy,f,len,epsilon2;moddim=zeros(Int32,ndims(ma
if super<0
super=2*Int(ceil(1.2^ndims(pmn[1])*prod(size(pmn[1])./Lpmnmean)))
end
super=min(super,size(f,1))
@show super
# TODO, use proper weighting if epsilon2 is not constant
newx,newval,sumw,varp,idx=DIVAnd_superobs(xy,f,super)
Expand Down

0 comments on commit eb0a8fd

Please sign in to comment.