Reply to topic  [ 3 posts ] 
yapi.c bug in yarg_conform ? 
Author Message
Yorick Guru

Joined: Sat Jan 22, 2005 2:44 pm
Posts: 86
Location: Pasadena, CA
Post yapi.c bug in yarg_conform ?
Not a C expert, but I think there is a bug on line 1074 of yapi.c
which prevents appending dimensions in dimension broadcasts.

Thierry

cvs diff: Diffing .
Index: yapi.c
===================================================================
RCS file: /cvsroot/yorick/yorick/yorick/yapi.c,v
retrieving revision 1.17
diff -r1.17 yapi.c
1074c1074,1076
< while ((n1--)>0 && (n2--)>0) {
---
> while (n1>0 && n2>0) {
> n1--;
> n2--;


Thu Nov 12, 2009 3:40 pm
Profile YIM
Yorick Master

Joined: Mon Nov 22, 2004 9:43 am
Posts: 354
Location: Livermore, CA, USA
Post 
Just as you say. Sorry, and thanks for reporting it!

I committed the fix to CVS, so it should work now.


Fri Nov 13, 2009 6:18 pm
Profile
Yorick Guru

Joined: Sat Jan 22, 2005 2:44 pm
Posts: 86
Location: Pasadena, CA
Post Oooops
Apologies to all,
there is a second problem in yarg_conform.... I think.

Thierry

cvs diff: Diffing .
Index: yapi.c
===================================================================
RCS file: /cvsroot/yorick/yorick/yorick/yapi.c,v
retrieving revision 1.18
diff -r1.18 yapi.c
1094c1094
< len2 = *dims1++;
---
> len2 = *dims2++;


Sat Nov 14, 2009 7:59 am
Profile YIM
Display posts from previous:  Sort by  
Reply to topic   [ 3 posts ] 

Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by STSoftware for PTF.