]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Fix comparison warning 10504/head
authorBruno Turcksin <bruno.turcksin@gmail.com>
Thu, 11 Jun 2020 00:49:30 +0000 (00:49 +0000)
committerBruno Turcksin <bruno.turcksin@gmail.com>
Thu, 11 Jun 2020 00:49:30 +0000 (00:49 +0000)
include/deal.II/matrix_free/cuda_matrix_free.templates.h

index ba9f6283ec6c3d13ea9eebe5c912e723fdebc171..a4ce00591cbcc5076b65447269cc72ce0bead895 100644 (file)
@@ -907,7 +907,7 @@ namespace CUDAWrappers
       {
         ++my_id;
         Assert(
-          my_id < mf_n_concurrent_objects,
+          my_id < static_cast<int>(mf_n_concurrent_objects),
           ExcMessage(
             "Maximum number of concurrents MatrixFree objects reached. Increase mf_n_concurrent_objects"));
         bool f = false;

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.