On Wed, Jul 11, 2018 at 5:06 PM WANG, LEI <[email protected]> wrote:
> Dear all
>
>
>
> I met a strange problem. The value of the matrix A seems to be changed
> after MatView(A, viewer). With this MatView, my code can run more steps
> than without MatView. Why does this happen? Does MatView(A, viewer) do some
> change on A?
>
No.
Its likely you have a memory error. Run with valgrind.
Thanks,
Matt
>
>
> Thank you very much in advance.
>
>
>
> Cheers
>
> Lei
>
--
What most experimenters take for granted before they begin their
experiments is infinitely more interesting than any results to which their
experiments lead.
-- Norbert Wiener
https://www.cse.buffalo.edu/~knepley/ <http://www.caam.rice.edu/~mk51/>