]> https://gitweb.dealii.org/ - dealii.git/commit
Bugfix: Dissallow access to an object of type Tensor<rank,0,Number>
authorMatthias Maier <tamiko@43-1.org>
Mon, 7 Sep 2015 02:35:26 +0000 (21:35 -0500)
committerMatthias Maier <tamiko@43-1.org>
Mon, 7 Sep 2015 18:36:24 +0000 (13:36 -0500)
commit451547ef1d8c51fe1a203f26305875143f79b83e
treeff32d8ad6bed0406c89719f2555c310b242e1fff
parent8af11809f64473c930c611520279d7cdb0013fe7
Bugfix: Dissallow access to an object of type Tensor<rank,0,Number>

Well, there is no sane way of accessing such an object. Unfortunately, the
"degeneration" operator[](void) is not part of the C++ language...

So, dissallow any access to the value but allow creation and comparison of
this object...
include/deal.II/base/tensor.h

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.