]> https://gitweb.dealii.org/ - dealii.git/commitdiff
For consistency use const unsigned int instead of int
authorBruno Turcksin <bruno.turcksin@gmail.com>
Tue, 20 Nov 2018 22:23:30 +0000 (22:23 +0000)
committerBruno Turcksin <bruno.turcksin@gmail.com>
Tue, 20 Nov 2018 22:23:30 +0000 (22:23 +0000)
include/deal.II/matrix_free/cuda_fe_evaluation.h

index 9dfb660bffdb85be9ee0fcb6a9b196b6cc4a3128..d63a8624a28cbd11d00bcd449e59a3d1b2c9d643 100644 (file)
@@ -86,7 +86,7 @@ namespace CUDAWrappers
      * Constructor.
      */
     __device__
-    FEEvaluation(int                      cell_id,
+    FEEvaluation(const unsigned int       cell_id,
                  const data_type *        data,
                  SharedData<dim, Number> *shdata);
 
@@ -191,7 +191,7 @@ namespace CUDAWrappers
             typename Number>
   __device__
   FEEvaluation<dim, fe_degree, n_q_points_1d, n_components_, Number>::
-    FEEvaluation(int                      cell_id,
+    FEEvaluation(const unsigned int       cell_id,
                  const data_type *        data,
                  SharedData<dim, Number> *shdata)
     : n_cells(data->n_cells)

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.