change logic for storing dof2quad tables
This commit is contained in:
+2
-2
@@ -2633,8 +2633,8 @@ const DofToQuad &TensorBasisElement::GetTensorDofToQuad(
|
||||
{
|
||||
for (int i = 0; i < dof2quad_array.Size(); i++)
|
||||
{
|
||||
d2q = dof2quad_array[i];
|
||||
if (d2q->IntRule != &ir || d2q->mode != mode) { d2q = nullptr; }
|
||||
auto* d2q_ = dof2quad_array[i];
|
||||
if (d2q_->IntRule == &ir && d2q_->mode == mode) { d2q = d2q_; }
|
||||
}
|
||||
if (!d2q)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user