add nomalloc unit test for rank2 updates
diff --git a/test/nomalloc.cpp b/test/nomalloc.cpp
index 743ee6a..50756c2 100644
--- a/test/nomalloc.cpp
+++ b/test/nomalloc.cpp
@@ -78,7 +78,8 @@
   VERIFY_IS_APPROX(m2,m2);
   
   m2.template selfadjointView<Lower>().rankUpdate(m1.col(0),-1);
-  m2.template selfadjointView<Lower>().rankUpdate(m1.row(0),-1);
+  m2.template selfadjointView<Upper>().rankUpdate(m1.row(0),-1);
+  m2.template selfadjointView<Lower>().rankUpdate(m1.col(0), m1.col(0)); // rank-2
 
   // The following fancy matrix-matrix products are not safe yet regarding static allocation
   m2.template selfadjointView<Lower>().rankUpdate(m1);