added missing checks in ImportLocal
This commit is contained in:
parent
cba885edbe
commit
3a5b6ed2f3
|
@ -415,7 +415,7 @@ public:
|
||||||
|
|
||||||
template <class LeftF>
|
template <class LeftF>
|
||||||
void ImportLocal(const LeftF & leftF){
|
void ImportLocal(const LeftF & leftF){
|
||||||
if(leftF.Base().VFAdjacencyEnabled){
|
if(leftF.Base().VFAdjacencyEnabled && this->Base().VFAdjacencyEnabled){
|
||||||
VFp(0) = NULL; VFp(1) = NULL; VFp(2) = NULL;
|
VFp(0) = NULL; VFp(1) = NULL; VFp(2) = NULL;
|
||||||
VFi(0) = -1; VFi(1) = -1; VFi(2) = -1;
|
VFi(0) = -1; VFi(1) = -1; VFi(2) = -1;
|
||||||
}
|
}
|
||||||
|
@ -458,7 +458,7 @@ public:
|
||||||
|
|
||||||
template <class LeftF>
|
template <class LeftF>
|
||||||
void ImportLocal(const LeftF & leftF){
|
void ImportLocal(const LeftF & leftF){
|
||||||
if(leftF.Base().FFAdjacencyEnabled) {
|
if(leftF.Base().FFAdjacencyEnabled && this->Base().FFAdjacencyEnabled) {
|
||||||
FFp(0) = NULL; FFp(1) = NULL; FFp(2) = NULL;
|
FFp(0) = NULL; FFp(1) = NULL; FFp(2) = NULL;
|
||||||
FFi(0) = -1; FFi(1) = -1; FFi(2) = -1;
|
FFi(0) = -1; FFi(1) = -1; FFi(2) = -1;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue