Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compilation doesn't work due to forward reference of variable #1

Open
darkseed opened this issue Nov 7, 2016 · 3 comments
Open

Compilation doesn't work due to forward reference of variable #1

darkseed opened this issue Nov 7, 2016 · 3 comments

Comments

@darkseed
Copy link

darkseed commented Nov 7, 2016

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
@MLnick
Copy link
Owner

MLnick commented Nov 7, 2016

Ah sorry about that - it was a rush to push it out in time for Spark Summit talk. Should be fixed in 19de327

@MLnick
Copy link
Owner

MLnick commented Nov 7, 2016

By the way, the code here is really very rough and more a PoC than anything near production ready :)

@darkseed
Copy link
Author

darkseed commented Nov 7, 2016

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 ;)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants