diff options
| author | Adrien Hopkins <adrien.p.hopkins@gmail.com> | 2023-09-04 18:51:26 -0500 |
|---|---|---|
| committer | Adrien Hopkins <adrien.p.hopkins@gmail.com> | 2023-09-04 18:54:13 -0500 |
| commit | a663fa77cde6ad48f29abd6973211c179ff32464 (patch) | |
| tree | 757345be6e80e5742d4fe63dd6ebf5b7d66f7a08 /print_digit_map.go | |
| parent | 5978972b06fb5e29723e4bab61bdfee74b42b126 (diff) | |
Increase detail of digit map neighbours
It now distinguishes between omega (factors of r - 1), alpha (factors of
r + 1) and the rest. The previous categorization determined whether or
not totatives and semitotatives have simple patterns; this new
categorization determines which simple patterns they follow)
Diffstat (limited to 'print_digit_map.go')
| -rw-r--r-- | print_digit_map.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/print_digit_map.go b/print_digit_map.go index b878a51..1f5ad64 100644 --- a/print_digit_map.go +++ b/print_digit_map.go @@ -66,7 +66,7 @@ func colourString(s string, digitType factors.DigitType) string { default: colourBegin = "\x1B[48;5;2m" // other regulars } - case factors.Neighbour: + case factors.Omega, factors.Alpha, factors.Pseudoneighbour: if digitType.Regularity() == 0 { colourBegin = "\x1B[48;5;198m" // neighbourly totatives } else { |
