]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Revert a change that breaks compilation. 15458/head
authorWolfgang Bangerth <bangerth@colostate.edu>
Fri, 23 Jun 2023 18:15:11 +0000 (12:15 -0600)
committerWolfgang Bangerth <bangerth@colostate.edu>
Fri, 23 Jun 2023 18:15:11 +0000 (12:15 -0600)
source/differentiation/sd/symengine_number_types.cc

index 635f4521ff1e5927d17430d2152a777780d93d04..ce828f1d87e8cb1239cf4bc419c6e52ee890fb7c 100644 (file)
@@ -104,7 +104,7 @@ namespace Differentiation
         {expression_otherwise.get_RCP(), SE::boolTrue});
 
       // Initialize
-      expression = SE::piecewise(piecewise_function);
+      expression = SE::piecewise(std::move(piecewise_function));
     }
 
 

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.