Re: variable content lost
- From: "Beliavsky" <beliavsky@xxxxxxx>
- Date: 30 Mar 2007 18:51:47 -0700
On Mar 30, 7:48 pm, nos...@xxxxxxxxxxxxx (Richard Maine) wrote:
Listad <lis...@xxxxxxxxx> wrote:
This might be completely unrelated, but I had trouble earlier with the
values of these arrays. Whenever I tried 'print *, fib%r(m,:)' in my
code the first element of the array changed to sth like 2.932434E-310.
In addition to that I either got 'segmentation fault' or a 'malloc-
exception'. After I changed the print statements to write statements
with explicit format the problem dissapeared ...
That value looks very much like one from type mismatch - interpreting
bits as double precision when the bits were generated as some other
type(s). This could be a symptom of something like a type mismatch in a
procdure call.
Yes, but the OP did write that
"All the code quoted here is in the same module which is the only
module in the file."
and I think all Fortran 95 compilers warn about type mismatches within
a module.
.
- Follow-Ups:
- Re: variable content lost
- From: Richard Maine
- Re: variable content lost
- References:
- variable content lost
- From: listad
- Re: variable content lost
- From: Beliavsky
- Re: variable content lost
- From: Listad
- Re: variable content lost
- From: Richard Maine
- variable content lost
- Prev by Date: Re: variable content lost
- Next by Date: Re: Sample polling program code?
- Previous by thread: Re: variable content lost
- Next by thread: Re: variable content lost
- Index(es):