]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Reorder the include files. 11825/head
authorWolfgang Bangerth <bangerth@colostate.edu>
Mon, 1 Mar 2021 01:59:27 +0000 (02:59 +0100)
committerWolfgang Bangerth <bangerth@colostate.edu>
Mon, 1 Mar 2021 14:21:34 +0000 (15:21 +0100)
source/sundials/kinsol.cc

index cc38f809e8e2307471ec5bc2c083bca7ae4a0ed6..695532c3530ed2d23a6e4dbf966cfe13bfa7e980 100644 (file)
 
 #    include <deal.II/sundials/copy.h>
 
-#    include <kinsol/kinsol_direct.h>
+// Make sure we #include the SUNDIALS config file...
 #    include <sundials/sundials_config.h>
+// ...before the rest of the SUNDIALS files:
+#    include <kinsol/kinsol_direct.h>
 #    include <sunlinsol/sunlinsol_dense.h>
 #    include <sunmatrix/sunmatrix_dense.h>
 

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.