For some reason, this code give me: ``` Exception ...
# announcements
r
For some reason, this code give me:
Copy code
Exception in thread "main" java.lang.ClassCastException: java.lang.Double cannot be cast to java.lang.Void
	at .[..]$main$atThree$1$2.invoke(CastError.kt)
	at [...].smooth(CastError.kt:21)
	at [...].main(CastError.kt:57)
Any Ideas?