Scala Breeze DenseVector Implicit failure -


i've started getting strange error; not sure caused - maybe maven rebuild. can't explain behavior... works in intellij, doesn't, , failing when run jar file.

this runtime error:

java.lang.nosuchmethoderror: breeze.linalg.densevector$.canscaled()lbreeze/linalg/operators/binaryop 

and occurs in code:

import breeze.linalg._ import breeze.linalg.densevector._ var planenormal = densevector.zeros[double](39) weights.zip(vectors).foreach case(w: double, vector: densevector[double]) =>     planenormal :+= (vector :* w) } 

in vector :* w function call.

anyone have ideas might wrong?

i suspect version mismatch no clue fix it; i'm using breeze-math package

<groupid>org.scalanlp</groupid> <artifactid>breeze-math_2.10</artifactid> <version>0.4</version> 

and scala

<groupid>org.scala-lang</groupid> <artifactid>scala-library</artifactid> <version>2.10.3</version> 

you're using really, old version of breeze. please use 0.8.1 (artifact id breeze_2.10 now)


Comments

Popular posts from this blog

google api - Incomplete response from Gmail API threads.list -

Installing Android SQLite Asset Helper -

Qt Creator - Searching files with Locator including folder -