Printing zero elements in lines of a sparse matrix

Thanks for point ting this out. I understood why this was a view. My main function was decorated with the @views macro.
Now, I’ve removed it and the printing suggested by @stevengj works perfectly!
Thanks a lot to all of you!