diff --git a/examples/potrf/pmw.h b/examples/potrf/pmw.h index 000e5693b..0f8d75d7d 100644 --- a/examples/potrf/pmw.h +++ b/examples/potrf/pmw.h @@ -54,7 +54,8 @@ class PaRSECMatrixWrapper { parsec_data_get_copy(pm->super.super.data_of(&pm->super.super, row, col), 0))); auto mb = (row < pm->super.mt - 1) ? pm->super.mb : pm->super.m - row * pm->super.mb; auto nb = (col < pm->super.nt - 1) ? pm->super.nb : pm->super.n - col * pm->super.nb; - return MatrixTile{mb, nb, ptr, pm->super.mb}; + std::size_t lda = pm->super.mb; + return MatrixTile{mb, nb, ptr, lda}; } /** Number of tiled rows **/