Re: matmul does not work.
If the declared sizes of
the arrays are different from your loop indices, then things will be
very different.
Thank you!!! It was the reason of the problem. I made a mistake
because of which my matrices had wrong size.
.
Relevant Pages
- Re: why the value is still available
... arrays are evil. ... off-by-one mistake sooner or later, and do something unpredictable, like ... The reason I ... But if I corrupt data only, I have a better chance of successful debugging. ... (comp.lang.c) - Re: why the value is still available
... arrays are evil. ... off-by-one mistake sooner or later, and do something unpredictable, like ... corrupt the return address of my caller. ... The reason I ... (comp.lang.c) - Re: why the value is still available
... Reason: as a mere mortal, I'm bound to make an off-by-one mistake sooner or later, and do something unpredictable, like corrupt the return address of my caller. ... For the most part, I sorta bought into this (arrays are static or dynamically allocated, which normally comes at a price of access efficiency). ... (comp.lang.c) - Re: why the value is still available
... Reason: as a mere mortal, I'm bound to make an off-by-one mistake sooner or later, and do something unpredictable, like corrupt the return address of my caller. ... For the most part, I sorta bought into this (arrays are static or dynamically allocated, which normally comes at a price of access efficiency). ... (comp.lang.c) - Re: matmul does not work.
... Kurda Yon wrote: ... the arrays are different from your loop indices, ... It was the reason of the problem. ... (comp.lang.fortran) |
|