logical operator in fortran 90
From: joel GUERRERO (joegi.geo_at_yahoo.com)
Date: 10/20/04
- Next message: beliavsky_at_aol.com: "Re: Help please with a small code conversion"
- Previous message: glen herrmannsfeldt: "Re: Help please with a small code conversion"
- Next in thread: Dave Seaman: "Re: logical operator in fortran 90"
- Reply: Dave Seaman: "Re: logical operator in fortran 90"
- Reply: bv: "Re: logical operator in fortran 90"
- Reply: B52B: "Re: logical operator in fortran 90"
- Reply: Les: "Re: logical operator in fortran 90"
- Reply: Andreas Krebs: "interface with ifort compiler"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 19 Oct 2004 20:22:29 -0700
Hi,
I'm having the following problem with fortran 90 using logical
operators.
With the following statement I get the right answer. The statement is
as follows:
if(x_cor_split(j).eq.x_cor_split(repetidos(i,2)).and.&
y_cor_split(j).eq.y_cor_split(repetidos(i,2))) then ...
Now, I need to obtain exactly the opposite answer, so I suppose that I
just need to change the lo .eq. by .ne., but when I change the lo, I
get a totally different answer of what I was expecting for. How can I
solve this problem?
FYI I'm using cvf 6.6
Hope somebody can help me,
Greetings,
Joel
- Next message: beliavsky_at_aol.com: "Re: Help please with a small code conversion"
- Previous message: glen herrmannsfeldt: "Re: Help please with a small code conversion"
- Next in thread: Dave Seaman: "Re: logical operator in fortran 90"
- Reply: Dave Seaman: "Re: logical operator in fortran 90"
- Reply: bv: "Re: logical operator in fortran 90"
- Reply: B52B: "Re: logical operator in fortran 90"
- Reply: Les: "Re: logical operator in fortran 90"
- Reply: Andreas Krebs: "interface with ifort compiler"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|