glint-fm
glint-fm copied to clipboard
Compilation doesn't work due to forward reference of variable
trafficstars
I've tried to compile your code, but it fails due to a forward reference of k
[info] Compiling 4 Scala sources to /Users/muldert/Sources/glint-fm/target/scala-2.10/classes...
[error] .../glint-fm/src/main/scala/com/github/mlnick/glintfm/GlintFM.scala:187: forward reference extends over definition of value x$7
[error] val randV = BDM.rand(localVDim, k, Rand.gaussian(0.0, initStd))
[error] ^
[error] one error found
[error] (compile:compileIncremental) Compilation failed
Ah sorry about that - it was a rush to push it out in time for Spark Summit talk. Should be fixed in https://github.com/MLnick/glint-fm/commit/19de327879b8d2645b60436ac93afd8b16f62dec
By the way, the code here is really very rough and more a PoC than anything near production ready :)
Very rough is good enough for now, just wanted to look at your code, after viewing your presentation you gave at Spark Summit. Nice response time on the reported issue ;)