]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Turn the returned value of a function into an 'unsigned'. 17093/head
authorWolfgang Bangerth <bangerth@colostate.edu>
Sun, 2 Jun 2024 23:31:35 +0000 (17:31 -0600)
committerWolfgang Bangerth <bangerth@colostate.edu>
Sun, 2 Jun 2024 23:31:35 +0000 (17:31 -0600)
include/deal.II/sundials/arkode.h
source/sundials/arkode.cc

index 5a673430f048b46eda8ca1c653bf2fba2bc9d245..3730b4f5061aadcdcbe685813f0b50d1b446ec90 100644 (file)
@@ -1026,7 +1026,7 @@ namespace SUNDIALS
     /**
      * Internal routine to call ARKode repeatedly.
      */
-    int
+    unsigned int
     do_evolve_time(VectorType           &solution,
                    dealii::DiscreteTime &time,
                    const bool            do_reset);
index bae405956b062c0c58c982e0523eac9e9a8a4985..4098cbf7486d2ff3fa4271b42af6cec97afcf4cb 100644 (file)
@@ -142,7 +142,7 @@ namespace SUNDIALS
 
 
   template <typename VectorType>
-  int
+  unsigned int
   ARKode<VectorType>::do_evolve_time(VectorType   &solution,
                                      DiscreteTime &time,
                                      const bool    do_reset)

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.