← Back to team overview

dolfin team mailing list archive

[noreply@xxxxxxxxxxxxx: [Branch ~dolfin-core/dolfin/main] Rev 5636: Fix part of time series demo.]

 

Yes.

--
Anders
--- Begin Message ---
------------------------------------------------------------
revno: 5636
committer: Garth N. Wells <gnw20@xxxxxxxxx>
branch nick: dolfin-all
timestamp: Thu 2011-02-03 20:34:50 +0000
message:
  Fix part of time series demo.
  
  Anders: can you fix the rest of it?
modified:
  demo/undocumented/time-series/cpp/main.cpp


--
lp:dolfin
https://code.launchpad.net/~dolfin-core/dolfin/main

Your team DOLFIN Core Team is subscribed to branch lp:dolfin.
To unsubscribe from this branch go to https://code.launchpad.net/~dolfin-core/dolfin/main/+edit-subscription
=== modified file 'demo/undocumented/time-series/cpp/main.cpp'
--- demo/undocumented/time-series/cpp/main.cpp	2010-09-01 16:40:02 +0000
+++ demo/undocumented/time-series/cpp/main.cpp	2011-02-03 20:34:50 +0000
@@ -28,7 +28,7 @@
   while (t < 1.0)
   {
     // Refine mesh and resize vector
-    Mesh new_mesh = refine(mesh);
+    Mesh& new_mesh = refine(mesh);
     x.resize(new_mesh.num_vertices());
 
     // Set some vector values


--- End Message ---