mirror of
https://github.com/NGSolve/netgen.git
synced 2024-12-24 21:10:33 +05:00
circumventing compiler bug ?
This commit is contained in:
parent
d53f28c89b
commit
3ece315bd0
@ -1432,7 +1432,7 @@ namespace netgen
|
||||
|
||||
template <typename T>
|
||||
void CurvedElements ::
|
||||
CalcSegmentTransformation (T xi, SegmentIndex elnr,
|
||||
CalcSegmentTransformation (const T & xi, SegmentIndex elnr,
|
||||
Point<3,T> * x, Vec<3,T> * dxdxi, bool * curved)
|
||||
{
|
||||
if (mesh.coarsemesh)
|
||||
@ -4033,7 +4033,7 @@ namespace netgen
|
||||
SIMD<double> * dxdxi, size_t sdxdxi);
|
||||
|
||||
template void CurvedElements ::
|
||||
CalcSegmentTransformation<double> (double xi, SegmentIndex elnr,
|
||||
CalcSegmentTransformation<double> (const double & xi, SegmentIndex elnr,
|
||||
Point<3,double> * x, Vec<3,double> * dxdxi, bool * curved);
|
||||
|
||||
|
||||
|
@ -161,7 +161,7 @@ public:
|
||||
private:
|
||||
|
||||
template <typename T>
|
||||
void CalcSegmentTransformation (T xi, SegmentIndex segnr,
|
||||
void CalcSegmentTransformation (const T & xi, SegmentIndex segnr,
|
||||
Point<3,T> * x = NULL, Vec<3,T> * dxdxi = NULL, bool * curved = NULL);
|
||||
|
||||
void CalcSurfaceTransformation (Point<2> xi, SurfaceElementIndex elnr,
|
||||
|
Loading…
Reference in New Issue
Block a user