Skip to content

Commit

Permalink
Fix the serialization error in Spark
Browse files Browse the repository at this point in the history
  • Loading branch information
scorebot committed Oct 5, 2024
1 parent 42d90e6 commit 410df2e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/scala/org/pmml4s/metadata/Dictionary.scala
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ abstract class Dictionary[T <: Field] extends Seq[T] with HasField {

override def apply(fieldIndex: Int): T = fields(fieldIndex)

override val length: Int = fields.length
override def length: Int = fields.length

override def iterator: Iterator[T] = fields.iterator

Expand Down

0 comments on commit 410df2e

Please sign in to comment.