VSG Logo   Avizo Forum

Go Back   Avizo Forum > Bug reports

Bug reports Post your bug reports here. (Access limited to registered users)

Reply
 
Thread Tools Display Modes
  #1  
Old 3rd March 2010, 12:45
JamesP JamesP is offline
Member
 
Join Date: May 2009
Posts: 13
Default Arithmetic <> bug

We were try to use the Arithmetic module to filter vectors (float[3]) above and below the Z plane. Hence we used the following for the data outputs:

Above: X = Ax * (Az>0) ; Y = Ay * (Az>0) ; Z = Az * (Az>0) ;
Below: X = Ax * (Az<=0) ; Y = Ay * (Az<=0) ; Z = Az * (Az<=0) ;

We found we were at many pointers we were getting two (different) vectors.

I tested what Arithmetic was doing, the comparison operators should all return 0 or 1. So:

X = Az>0 ; Y = Az>0 ; Z = Az>0 ;

should produce only zero (0,0,0) or unit (1,1,1) vectors, however as can be seen in the attached image there are several non-unit vectors.

System is 64bit Linux, Avizo 6.1.1
Attached Images
File Type: png Arith_Bug.png (207.9 KB, 7 views)
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 05:47.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2013, vBulletin Solutions, Inc.
Copyright VSG SAS, 2008.