]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Fix warning 18073/head
authorNikita Daniliuk <nikita.daniliuk1@gmail.com>
Sun, 2 Feb 2025 21:44:35 +0000 (21:44 +0000)
committerNikita Daniliuk <nikita.daniliuk1@gmail.com>
Sun, 2 Feb 2025 21:44:35 +0000 (21:44 +0000)
include/deal.II/lac/sparsity_pattern_base.h

index 5d1b3225442c2211f0835918f07c064048aeeadb..e4bbd7cd327f52194441204b2d30339bcfb5fb66 100644 (file)
@@ -167,10 +167,10 @@ SparsityPatternBase::n_cols() const
 
 
 inline void
-SparsityPatternBase::resize(const size_type rows, const size_type cols)
+SparsityPatternBase::resize(const size_type n_rows, const size_type n_cols)
 {
-  this->rows = rows;
-  this->cols = cols;
+  this->rows = n_rows;
+  this->cols = n_cols;
 }
 #endif
 

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


Typeset in Trocchi and Trocchi Bold Sans Serif.