Fix compile error in std::pow useage.

This commit is contained in:
Jeff Young 2019-01-30 16:38:34 +00:00
parent 19c9ae7ecb
commit 2dea3a49c8
1 changed files with 1 additions and 1 deletions

View File

@ -317,7 +317,7 @@ void DIALOG_EXPORT_STEP::onExportButton( wxCommandEvent& aEvent )
if( m_tolerance->GetSelection() != 1 )
{
double tolerance = 0.001 * std::pow<double>( 10, m_tolerance->GetSelection() - 1.0 );
double tolerance = 0.001 * std::pow<double>( 10.0, m_tolerance->GetSelection() - 1 );
cmdK2S.Append( wxString::Format( " --min-distance=\"%.4f mm\"", tolerance ) );
}