From ab4aa70b79f8b785156eb91b035d89a033533b01 Mon Sep 17 00:00:00 2001 From: Mirek Kratochvil Date: Thu, 1 Apr 2021 12:00:10 +0200 Subject: [PATCH] fix PR #183 (sorry) --- src/analysis/core.jl | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/analysis/core.jl b/src/analysis/core.jl index 9aef83b4..94bdb31c 100644 --- a/src/analysis/core.jl +++ b/src/analysis/core.jl @@ -139,8 +139,8 @@ function trainGigaSOM( eachEpoch(0, rStart, codes) - for j = 1:epochs - @debug "Epoch $j..." + for epoch = 1:epochs + @debug "Epoch $epoch..." numerator, denominator = distributedEpoch( dInfo, @@ -148,7 +148,7 @@ function trainGigaSOM( knnTreeFun(Array{Float64,2}(transpose(codes)), metric), ) - r = radiusFun(rStart, rFinal, j, epochs) + r = radiusFun(rStart, rFinal, epoch, epochs) @debug "radius: $r" if r <= 0 @error "Sanity check failed: radius must be positive"