[examples] Fix matrix/vector types of examples

The nested matrix and vector types should correspond to the index tree of the basis. Here, this is not the case since Field*<T,*> was used instead of T. While this is in many cases no problem, it may fail if the matrix is recursively traversed with IsNumber as termination criterion.

Merge request reports

Loading