]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Make things compile again. 3797/head
authorWolfgang Bangerth <bangerth@colostate.edu>
Sat, 14 Jan 2017 16:05:02 +0000 (09:05 -0700)
committerWolfgang Bangerth <bangerth@colostate.edu>
Sat, 14 Jan 2017 16:05:02 +0000 (09:05 -0700)
include/deal.II/base/vectorization.h

index 3e09d1d4177932d31874537405531ff495fb956a..0cd6093c772e958f0ef5e8572eec5c12a1a5dbfa 100644 (file)
@@ -2640,7 +2640,7 @@ void vectorized_load_and_transpose(const unsigned int      n_entries,
       out[4*i+2].data = _mm_shuffle_ps (v1, v3, 0x88);
       out[4*i+3].data = _mm_shuffle_ps (v1, v3, 0xdd);
     }
-  if (remainder > 0)
+  if (n_entries % 4 > 0)
     for (unsigned int i=4*n_chunks; i<n_entries; ++i)
       for (unsigned int v=0; v<4; ++v)
         out[i][v] = in[offsets[v]+i];

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.