8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents dec6f54 + e102e26 commit 63b35a8Copy full SHA for 63b35a8
README.md
@@ -190,7 +190,7 @@ class Vehicle {
190
}
191
192
func maximumTotalTirePressure(pressurePerWheel: Float) -> Float {
193
- return pressurePerWheel * numberOfWheels
+ return pressurePerWheel * Float(numberOfWheels)
194
195
196
@@ -215,7 +215,7 @@ protocol Vehicle {
215
216
217
func maximumTotalTirePressure(vehicle: Vehicle, pressurePerWheel: Float) -> Float {
218
- return pressurePerWheel * vehicle.numberOfWheels
+ return pressurePerWheel * Float(vehicle.numberOfWheels)
219
220
221
struct Bicycle: Vehicle {
0 commit comments