<h3>lac</h3>
<ol>
+ <li> <p>
+ Fixed: Allocation of temporary vectors in <code
+ class="member">FilteredMatrix::allocate_tmp_vector</code>
+ is now faster since it does no more copy the value of the
+ template vector.
+ <br>
+ (WB 2001/11/22)
+ </p>
+
<li> <p>
Fixed: The <code
class="member">FilteredMatrix::allocate_tmp_vector</code>
* temporary vector. This
* function has to be overloaded
* for the various template
- * parameter choices.
+ * parameter choices. Since the
+ * allocated vector will be
+ * filled by the site that calls
+ * this function, no
+ * initialization is necessary.
*/
void allocate_tmp_vector ();
allocate_tmp_vector ()
{
tmp_mutex.acquire ();
- tmp_vector.reinit (matrix->n());
+ tmp_vector.reinit (matrix->n(), true);
tmp_mutex.release ();
};
allocate_tmp_vector ()
{
tmp_mutex.acquire ();
- tmp_vector.reinit (matrix->n());
+ tmp_vector.reinit (matrix->n(), true);
tmp_mutex.release ();
};
block_sizes[i] = matrix->block(i,i).n();
tmp_mutex.acquire ();
- tmp_vector.reinit (block_sizes);
+ tmp_vector.reinit (block_sizes, true);
tmp_mutex.release ();
};
block_sizes[i] = matrix->block(i,i).n();
tmp_mutex.acquire ();
- tmp_vector.reinit (block_sizes);
+ tmp_vector.reinit (block_sizes, true);
tmp_mutex.release ();
};
In the beginning the Universe was created. This has made a lot of
people very angry and has been widely regarded as a bad move.
Douglas Adams