java.lang.IndexOutOfBoundsException: Storage array has negative stride 0 and offset 0 which can result in negative indices.

GitHub | cgled | 9 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    Transposing an empty DenseMatrix throws an uninformative error

    GitHub | 9 months ago | cgled
    java.lang.IndexOutOfBoundsException: Storage array has negative stride 0 and offset 0 which can result in negative indices.

    Root Cause Analysis

    1. java.lang.IndexOutOfBoundsException

      Storage array has negative stride 0 and offset 0 which can result in negative indices.

      at breeze.linalg.DenseMatrix$mcD$sp.<init>()
    2. breeze.linalg
      DenseMatrix$mcD$sp.<init>
      1. breeze.linalg.DenseMatrix$mcD$sp.<init>(DenseMatrix.scala:79)
      1 frame