Permalink
Browse files

Merge branch 'fix_domainwise_matrix_cf' into 'master'

fix setdimension for domainwise matrix coefficientfunction

See merge request jschoeberl/ngsolve!277
  • Loading branch information...
JSchoeberl committed Dec 14, 2017
2 parents bb1e4a9 + 9e72be8 commit 0a6489c89f74710d1a3452894032df03ea5d1264
Showing with 1 addition and 1 deletion.
  1. +1 −1 fem/coefficient.cpp
@@ -3608,7 +3608,7 @@ class DomainWiseCoefficientFunction : public T_CoefficientFunction<DomainWiseCoe
for (auto & cf : ci)
if (cf && cf->IsComplex()) is_complex = true;
for (auto & cf : ci)
if (cf) SetDimension(cf->Dimension());
if (cf) SetDimensions(cf->Dimensions());
}
/*

0 comments on commit 0a6489c

Please sign in to comment.