Skip to content

Commit

Permalink
Closed #57
Browse files Browse the repository at this point in the history
  • Loading branch information
sys_27 committed Oct 25, 2013
1 parent d8d866a commit b809f59
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 8 deletions.
6 changes: 3 additions & 3 deletions SharedAssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
[assembly: AssemblyConfiguration("Release")]
#endif

[assembly: AssemblyVersion("2.8.2")]
[assembly: AssemblyFileVersion("2.8.2")]
[assembly: AssemblyInformationalVersion("2.8.2")]
[assembly: AssemblyVersion("2.8.3")]
[assembly: AssemblyFileVersion("2.8.3")]
[assembly: AssemblyInformationalVersion("2.8.3")]
[assembly: NeutralResourcesLanguageAttribute("en")]
2 changes: 1 addition & 1 deletion xFunc.Maths/Expressions/Log.cs
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ public override int GetHashCode()
/// <returns>The string that represents this expression.</returns>
public override string ToString()
{
return ToString("log({1}, {0})");
return ToString("log({0}, {1})");
}

/// <summary>
Expand Down
2 changes: 1 addition & 1 deletion xFunc.Test/Expressions/Maths/LogTest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ public void DerivativeTest2()
Assert.AreEqual("1 / (x * ln(2))", deriv.ToString());

num.Value = 4;
Assert.AreEqual("log(x, 4)", exp.ToString());
Assert.AreEqual("log(4, x)", exp.ToString());
Assert.AreEqual("1 / (x * ln(2))", deriv.ToString());
}

Expand Down
4 changes: 2 additions & 2 deletions xFunc.Test/MathParserTest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -63,8 +63,8 @@ public void ParseLog()
new SymbolToken(Symbols.CloseBracket)
};

var exp = parser.Parse("log(3, 9)");
Assert.AreEqual("log(3, 9)", exp.ToString());
var exp = parser.Parse("log(9, 3)");
Assert.AreEqual("log(9, 3)", exp.ToString());
}

[TestMethod]
Expand Down
2 changes: 1 addition & 1 deletion xFunc/Presenters/Updater.cs
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ internal class Updater
{

private const string checkUri = "http://xfunc.codeplex.com/releases/";
private const int currentRelease = 113720;
private const int currentRelease = 113947;
private string updateUri;
private bool hasUpdates;

Expand Down

0 comments on commit b809f59

Please sign in to comment.