Skip to content

Commit 0e73ab1

Browse files
committed
Regenerated flow and rotational speed units after fixing bug in constants defined in both implementation and test.
1 parent 6c2805c commit 0e73ab1

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

Src/UnitsNet/Generated Code/FlowUnit.g.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ public Flow(double cubicmeterspersecond) : this()
4343

4444
public double CubicMetersPerHour
4545
{
46-
get { return CubicMetersPerSecond/3600; }
46+
get { return CubicMetersPerSecond/0.000277777777777778; }
4747
}
4848

4949
#endregion
@@ -57,7 +57,7 @@ public static Flow Zero
5757

5858
public static Flow FromCubicMetersPerHour(double cubicmetersperhour)
5959
{
60-
return new Flow(cubicmetersperhour*3600);
60+
return new Flow(cubicmetersperhour*0.000277777777777778);
6161
}
6262

6363
public static Flow FromCubicMetersPerSecond(double cubicmeterspersecond)

Src/UnitsNet/Generated Code/RotationalSpeedUnit.g.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ public RotationalSpeed(double revolutionspersecond) : this()
4343

4444
public double RevolutionsPerMinute
4545
{
46-
get { return RevolutionsPerSecond/60; }
46+
get { return RevolutionsPerSecond/0.0166666666666667; }
4747
}
4848

4949
#endregion
@@ -57,7 +57,7 @@ public static RotationalSpeed Zero
5757

5858
public static RotationalSpeed FromRevolutionsPerMinute(double revolutionsperminute)
5959
{
60-
return new RotationalSpeed(revolutionsperminute*60);
60+
return new RotationalSpeed(revolutionsperminute*0.0166666666666667);
6161
}
6262

6363
public static RotationalSpeed FromRevolutionsPerSecond(double revolutionspersecond)

0 commit comments

Comments
 (0)