From 2dea3a49c83726f1f85fac97484e4bad1287f698 Mon Sep 17 00:00:00 2001 From: Jeff Young Date: Wed, 30 Jan 2019 16:38:34 +0000 Subject: [PATCH] Fix compile error in std::pow useage. --- pcbnew/dialogs/dialog_export_step.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pcbnew/dialogs/dialog_export_step.cpp b/pcbnew/dialogs/dialog_export_step.cpp index a043214f3f..c0b7786eaf 100644 --- a/pcbnew/dialogs/dialog_export_step.cpp +++ b/pcbnew/dialogs/dialog_export_step.cpp @@ -317,7 +317,7 @@ void DIALOG_EXPORT_STEP::onExportButton( wxCommandEvent& aEvent ) if( m_tolerance->GetSelection() != 1 ) { - double tolerance = 0.001 * std::pow( 10, m_tolerance->GetSelection() - 1.0 ); + double tolerance = 0.001 * std::pow( 10.0, m_tolerance->GetSelection() - 1 ); cmdK2S.Append( wxString::Format( " --min-distance=\"%.4f mm\"", tolerance ) ); }