Cast sparse matrix to dense before writing.
Cast sparse matrix to dense before writing.

This is not the ideal solution.  It would be more efficient to iterate
through the sparse matrix and write it out as if it was dense.

linus-sherrill/maptk,linus-sherrill/maptk,linus-sherrill/maptk,linus-sherrill/maptk,linus-sherrill/maptk