use geno.genetic_variance.val instead of geno.genetic_variance because now it is the Variance struct.
in impute_genotypes(), make sure the data type (Float32 or Float64) of genotypes is unchanged after imputation. Otherwise the impute_genotypes() will only create Float64 genotype matrix, and this will cause an error for BLAS.axpy!(oldAlpha-α[j],x,yCorr) when x is Float64 but yCorr is Float32.
fixed two bugs for single-step:
geno.genetic_variance.val
instead ofgeno.genetic_variance
because now it is the Variance struct.impute_genotypes()
, make sure the data type (Float32 or Float64) of genotypes is unchanged after imputation. Otherwise theimpute_genotypes()
will only create Float64 genotype matrix, and this will cause an error forBLAS.axpy!(oldAlpha-α[j],x,yCorr)
when x is Float64 but yCorr is Float32.