Skip to content

Commit 5f5ac94

Browse files
fix compiling error with gcc 7.2
1 parent 3655bab commit 5f5ac94

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

source/bem_fma.cc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -723,7 +723,7 @@ void BEMFMA<dim>::direct_integrals()
723723

724724
//MAGARI USARE FEVALUES CON IL DOFHANDLER CRETINO DISCONTINUO E IL MAPPING bem_fma
725725
Point<dim> D;
726-
double s;
726+
double s=0.;
727727

728728
const Tensor<1, dim> R = this->quadPoints.at(cell)[*pos] - support_points[nodeIndex];
729729
LaplaceKernel::kernels(R, D, s);
@@ -800,7 +800,7 @@ void BEMFMA<dim>::direct_integrals()
800800
for (unsigned int q=0; q<singular_quadrature->size(); ++q)
801801
{
802802
Point<dim> D;
803-
double s;
803+
double s=0.;
804804

805805
const Tensor<1, dim> R = singular_q_points[q] - support_points[nodeIndex];
806806
LaplaceKernel::kernels(R, D, s);
@@ -978,7 +978,7 @@ void BEMFMA<dim>::direct_integrals()
978978
// here we compute the distance R between the node and the quad point
979979
const Tensor<1,dim> R = quadPoints[cell][*pos] - support_points[nodeIndex];
980980
Point<dim> D;
981-
double s;
981+
double s=0.;
982982

983983
LaplaceKernel::kernels(R, D, s);
984984

0 commit comments

Comments
 (0)