These were caught by cppcheck.
void weighted_mass_matrix (
FullMatrix<double> &M,
const FEValuesBase<dim> &fe,
- const std::vector<double> weights)
+ const std::vector<double> &weights)
{
const unsigned int n_dofs = fe.dofs_per_cell;
const unsigned int n_components = fe.get_fe().n_components();
* locations output.
*/
void write_gnuplot (const std::string &base_name,
- const std::vector <Point <dim> > postprocessor_locations = std::vector <Point <dim> > ());
+ const std::vector <Point <dim> > &postprocessor_locations = std::vector <Point <dim> > ());
/**
template <int dim>
void PointValueHistory<dim>
-::write_gnuplot (const std::string &base_name, const std::vector <Point <dim> > postprocessor_locations)
+::write_gnuplot (const std::string &base_name,
+ const std::vector <Point <dim> > &postprocessor_locations)
{
AssertThrow (closed, ExcInvalidState ());
AssertThrow (!cleared, ExcInvalidState ());
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