Re: variable content lost
- From: nospam@xxxxxxxxxxxxx (Richard Maine)
- Date: Fri, 30 Mar 2007 23:24:29 -0700
Beliavsky <beliavsky@xxxxxxx> wrote:
On Mar 30, 7:48 pm, nos...@xxxxxxxxxxxxx (Richard Maine) wrote:
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.
Yes. That's part of why I mentioned, in the part that you elided, that I
considered array bounds or poingter issues as a more likely source of
the type mismatch. Perhaps "type mismatch" isn't the best terminology,
but whatever one calls it, those are ways to get data of the wrong type
into those bits of memory.
--
Richard Maine | Good judgement comes from experience;
email: last name at domain . net | experience comes from bad judgement.
domain: summertriangle | -- Mark Twain
.
- 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
- Re: variable content lost
- From: Beliavsky
- variable content lost
- Prev by Date: Re: Starting to doubt fortran
- Next by Date: Re: Starting to doubt fortran
- Previous by thread: Re: variable content lost
- Next by thread: Re: variable content lost
- Index(es):