Skip to content

Commit

Permalink
Windows ambiguity fix. Re #2654.
Browse files Browse the repository at this point in the history
  • Loading branch information
RussellTaylor committed Dec 16, 2011
1 parent b49f40e commit 6ea2d36
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Code/Mantid/MantidPlot/src/ApplicationWindow.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1949,7 +1949,7 @@ QString ApplicationWindow::stemPlot(Table *t, const QString& colName, int power,
gsl_sort (data, 1, rows);

if (power > 1e3){
power = static_cast<int>(std::ceil(log10(data[rows - 1] - data[0]) - log10(rows - 1)));
power = static_cast<int>(std::ceil(log10(data[rows - 1] - data[0]) - log10(rows - 1.0)));
bool ok;
int input = QInputDialog::getInteger(this, tr("Please confirm the stem unit!"),
tr("Data set") + ": " + colName + ", " + tr("stem unit") + " = 10<sup>n</sup>, n = ",
Expand Down

0 comments on commit 6ea2d36

Please sign in to comment.