Skip to content

Commit fca0da6

Browse files
committed
fix typo...
1 parent 19dd10b commit fca0da6

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/mad_tpsa_comp.c

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -233,7 +233,7 @@ FUN(compose) (ssz_t sa, const T *ma[sa], ssz_t sb, const T *mb[sb], T *mc[sa])
233233
printf("mb:\n"); print_damap(sb, mb, 0);
234234
#endif
235235

236-
if (hi_ord == 1) compose_ord1(sa,ma, sb,mb, mc);
236+
if (hi_ord == 1) compose_ord1(sa,ma, sb,mb, mc_);
237237

238238
#ifdef _OPENMP // TODO: find pcomp heuristic at desc init...
239239
else if (d->pcomp && hi_ord >= 6 && d->ord2idx[hi_ord+1] >= d->pcomp) {
@@ -249,6 +249,10 @@ FUN(compose) (ssz_t sa, const T *ma[sa], ssz_t sb, const T *mb[sb], T *mc[sa])
249249

250250
else compose(sa,ma, sb,mb, mc_, hi_ord, mo_ord);
251251

252+
#if DEBUG_COMPOSE
253+
printf("mc:\n"); print_damap(sa, TC mc_, 0);
254+
#endif
255+
252256
// copy back
253257
FOR(ia,sa) if (amc[ia]) {
254258
FUN(copy)(mc_[ia], mc[ia]);

0 commit comments

Comments
 (0)