Re: variable content lost



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
.