Warning generated on compiling MeshSizeCF

More
4 years 11 months ago #2210 by hvwahl
Hi,

when compiling coefficient functions which contain the coefficient function specialcf.mesh_size (on a build from the tastes GitHub sources), the following warning is generated:
Code:
code1_0.cpp: In function 'void CompiledEvaluate(ngfem::BaseMappedIntegrationRule&, ngbla::BareSliceMatrix<double, ngbla::RowMajor>)': code1_0.cpp:247:26: warning: 'int ngfem::BaseMappedIntegrationPoint::Dim() const' is deprecated: Use DimSpace instead [-Wdeprecated-declarations] 247 | switch (ip.Dim()) | ^

The fix seems to be "switch (ip.DimSpace())" lines 669 and 681 in fem/python_fem.cpp

Best wishes,
Henry
The following user(s) said Thank You: mneunteufel
More
4 years 11 months ago #2211 by mneunteufel
Hi Henry,

thank you for the report. It will be fixed in the next nightly build.

Best,
Michael
More
4 years 11 months ago #2212 by hvwahl
Thank you!

Best wishes,
Henry
Time to create page: 0.105 seconds