Skip to content

Commit

Permalink
Remove reverse
Browse files Browse the repository at this point in the history
  • Loading branch information
donn committed Jan 11, 2024
1 parent 308bca8 commit a1a68af
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/Fault/Module.swift
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ struct Port: Codable {
}

var bits: [Int] {
from < to ? [Int](from ... to) : [Int](to ... from).reversed()
from < to ? [Int](from ... to) : [Int](to ... from)
}

init(name: String, polarity: Polarity? = nil, from: Int = 0, to: Int = 0, at ordinal: Int) {
Expand Down

0 comments on commit a1a68af

Please sign in to comment.