Skip to content

Commit

Permalink
Merge branch 'master' into develop
Browse files Browse the repository at this point in the history
  • Loading branch information
JetStream96 committed Apr 15, 2018
2 parents c34ebcf + 84eedda commit 48bc08d
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 3 deletions.
5 changes: 4 additions & 1 deletion src/QSP/ChangeLog.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
version 0.4.3
version 0.4.4
* Fix errors when calculating fuel with certain aircrafts.

version 0.4.3
* Add profiles for A320 family.
* Fix fuel burn bias bug.

Expand Down
5 changes: 4 additions & 1 deletion src/QSP/FuelCalculation/FuelData/IFuelTableExtension.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,12 @@
{
public static class IFuelTableExtension
{
/// <summary>
/// Returns null if f is null.
/// </summary>
public static IFuelTable WithBias(this IFuelTable f, double bias)
{
return new Helper(f, bias);
return f == null ? null : new Helper(f, bias);
}

private class Helper : IFuelTable
Expand Down
2 changes: 1 addition & 1 deletion src/QSP/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -31,5 +31,5 @@
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("0.4.3.0")]
[assembly: AssemblyVersion("0.4.4.0")]
[assembly: AssemblyFileVersion("1.0.0.0")]

0 comments on commit 48bc08d

Please sign in to comment.