Skip to content

Commit

Permalink
revert scope
Browse files Browse the repository at this point in the history
  • Loading branch information
nh13 committed Jan 16, 2025
1 parent b222154 commit 8ab053a
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/main/scala/com/fulcrumgenomics/alignment/Aligner.scala
Original file line number Diff line number Diff line change
Expand Up @@ -74,12 +74,12 @@ object Aligner {
/** Directions within the trace back matrix. */
private type Direction = Int
// NB: types are purposely omitted for match performance. See: https://stackoverflow.com/questions/16311540/why-cant-scala-optimize-this-match-to-a-switch
final val Left = 0
final val Up = 1
final val Diagonal = 2
final val Done = 3
private final val Left = 0
private final val Up = 1
private final val Diagonal = 2
private final val Done = 3

final val AllDirections: Seq[Direction] = Seq(Diagonal, Left, Up)
private val AllDirections: Seq[Direction] = Seq(Diagonal, Left, Up)

/** The minimum score allowed to start an alignment. This prevents underflow. */
val MinStartScore: Int = Int.MinValue / 2
Expand Down

0 comments on commit 8ab053a

Please sign in to comment.