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

specialization assertionerror on overloaded apply in breeze's DenseVector #9578

Open
scabug opened this issue Dec 1, 2015 · 2 comments
Open

Comments

@scabug
Copy link

scabug commented Dec 1, 2015

See https://groups.google.com/forum/m/#!topic/scala-internals/gnvcWsmAPaY:

class Test {
  def foo = {
// workaround: val dv: QuasiTensor[Int,Int] = DenseVector[Int]() // QuasiTensor does not have overloaded apply
   val dv = breeze.linalg.DenseVector[Int]()
   dv.apply(0) // java.lang.AssertionError: assertion failed: List(method apply$mcI$sp, method apply$mcI$sp)
  }
}

fails with breeze 0.11.x and 0.12-SNAPSHOT (the latter was compiled with 2.11.7, afaict)

@scabug
Copy link
Author

scabug commented Dec 1, 2015

Imported From: https://issues.scala-lang.org/browse/SI-9578?orig=1
Reporter: @adriaanm
Affected Versions: 2.10.5, 2.11.7

@scabug
Copy link
Author

scabug commented Dec 1, 2015

@adriaanm said:
Vaguely related to #9089, but as this was fixed in 2.11.5 and the problem still occurs with breeze compiled with 2.11.7, i conclude it's a separate issue.

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

No branches or pull requests

2 participants