Reformat code

This commit is contained in:
世界
2026-02-08 18:23:42 +08:00
parent f765bf1e3b
commit a86dfc26d1
42 changed files with 163 additions and 98 deletions
@@ -92,7 +92,7 @@ final class LubyTransformEncoder {
)
}
// Ideal Soliton Distribution for degree selection
/// Ideal Soliton Distribution for degree selection
private func getRandomDegree() -> Int {
guard k > 1 else { return k }
var probabilities = [Double](repeating: 0, count: k)