Bug in igamx2d?

Open discussion regarding features, bugs, issues, vendors, etc.

Bug in igamx2d?

Postby ake » Fri Mar 06, 2009 8:12 am

Hi!

In Blacs 1.1patch3 in igamx2d the comments say that if rdest==-1 then cdest is ignored:

* RDEST (input) Ptr to int
* The process row of the destination of the amx.
* If rdest == -1, then result is left on all processes in scope. <---
*
* CDEST (input) Ptr to int
* The process column of the destination of the amx.
* If rdest == -1, then CDEST ignored. <---


But the code looks like it is doing the reverse:
if (Mpval(cdest) == -1) trdest = -1;
else trdest = Mpval(rdest);

and a bit further down
if (trdest == -1) dest = -1;
else dest = Mpval(cdest);

So whats up?
ake
 
Posts: 9
Joined: Wed Mar 14, 2007 8:49 am

Return to User Discussion

Who is online

Users browsing this forum: Yahoo [Bot] and 3 guests