Boost logo

Ublas :

Subject: Re: [ublas] Is coordinate_matrix element assignment/insertion broken in 1.42?
From: Rutger ter Borg (rutger_at_[hidden])
Date: 2010-02-25 14:52:18

Jesse Perla wrote:

> My apologies if I am missing something obvious, but it seems to me that
> coordinate matrix is fundamentally broken. I am using Intel 11.1 on
> Windows

One thing I spotted is that you output the index data as if they are
doubles, but I think they are integer types.

I.e., the double in

> std::copy(index1_data.begin(), index1_data.end(),
> std::ostream_iterator<double>(cout, "\n"));

is definitely wrong.