diff --git a/examples/diffusion/main.cc b/examples/diffusion/main.cc
index 28e4179824c330037dca0555180cd3da70589849..5c188712d277089f2c7b03fb7e1220790ae29ad9 100644
--- a/examples/diffusion/main.cc
+++ b/examples/diffusion/main.cc
@@ -99,7 +99,7 @@ public:
 
     // We prescribe zero flux over all of the boundary
     NumEqVector neumannAtPos(const GlobalPosition& globalPos) const
-    { return { 0.0 }; }
+    { return NumEqVector(0.0); }
 
     // The diffusion coefficient interface is used in the local residual (see Part 1).
     // We can name this interface however we want as long as we adapt the calling site