diff --git a/src/rmn.cpp b/src/rmn.cpp index fdb3625..064bd2f 100644 --- a/src/rmn.cpp +++ b/src/rmn.cpp @@ -308,7 +308,7 @@ Rcpp::List estimate( std::cout << iter << ": new z\n"; estimateZ(arma::conv_to >::from(lnEmPN), lnTPN, z[iContig], empty[iContig], lnL); - std::cout << iContig << '\t' << z[iContig](arma::span(1, 10)) << std::endl; + std::cout << iContig << '\t' << empty[iContig](arma::span(1, 10)) << std::endl; } std::cout << iter << ": new likelihood: " << lnL << std::endl; }