File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
mllib/src/main/scala/org/apache/spark/mllib/linalg Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -21,13 +21,13 @@ import java.util.{Arrays, Random}
2121
2222import scala .collection .mutable .{ArrayBuilder => MArrayBuilder , HashSet => MHashSet , ArrayBuffer }
2323
24+ import breeze .linalg .{CSCMatrix => BSM , DenseMatrix => BDM , Matrix => BM }
25+
2426import org .apache .spark .annotation .DeveloperApi
2527import org .apache .spark .sql .Row
2628import org .apache .spark .sql .types ._
2729import org .apache .spark .sql .catalyst .expressions .GenericMutableRow
2830
29- import breeze .linalg .{CSCMatrix => BSM , DenseMatrix => BDM , Matrix => BM }
30-
3131/**
3232 * Trait for a local matrix.
3333 */
@@ -185,6 +185,8 @@ private[spark] class MatrixUDT extends UserDefinedType[Matrix] {
185185 }
186186 }
187187
188+ override def hashCode (): Int = 1994
189+
188190 private [spark] override def asNullable : MatrixUDT = this
189191}
190192
You can’t perform that action at this time.
0 commit comments