Skip to content
Snippets Groups Projects
Commit c637d04c authored by Carlo Camilloni's avatar Carlo Camilloni
Browse files

compilation: removed a couple of warnings

parent 27f258e0
No related branches found
No related tags found
No related merge requests found
...@@ -99,7 +99,6 @@ void UWalls::performTask(){ ...@@ -99,7 +99,6 @@ void UWalls::performTask(){
double value=getValue(); double value=getValue();
double uscale = (value - at + offset)/eps; double uscale = (value - at + offset)/eps;
if( uscale > 0. ){ if( uscale > 0. ){
double invvalue= 1.0 / value;
double power = pow( uscale, exp ); double power = pow( uscale, exp );
double f = ( kappa / eps ) * exp * power / uscale; double f = ( kappa / eps ) * exp * power / uscale;
......
...@@ -297,11 +297,11 @@ double SwitchingFunction::inverse( const double& val ) const { ...@@ -297,11 +297,11 @@ double SwitchingFunction::inverse( const double& val ) const {
SwitchingFunction::SwitchingFunction(): SwitchingFunction::SwitchingFunction():
init(false), init(false),
type(rational), type(rational),
nn(6),
mm(12),
invr0(0.0), invr0(0.0),
d0(0.0), d0(0.0),
dmax(0.0), dmax(0.0),
nn(6),
mm(12),
invr0_2(0.0), invr0_2(0.0),
dmax_2(0.0), dmax_2(0.0),
stretch(1.0), stretch(1.0),
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment