Skip to content

Conversation

@miiizen
Copy link
Contributor

@miiizen miiizen commented Nov 19, 2025

Resolves: #23712

@miiizen miiizen force-pushed the 23712-transposeFretDiagrams branch 3 times, most recently from 228bb74 to c0ffc20 Compare November 24, 2025 12:32
@avvvvve avvvvve self-requested a review November 24, 2025 14:45
@DmitryArefiev DmitryArefiev removed their request for review November 24, 2025 16:02
@DmitryArefiev DmitryArefiev self-assigned this Nov 24, 2025
@DmitryArefiev
Copy link
Contributor

Tested on Win10 - PASS

@miiizen miiizen force-pushed the 23712-transposeFretDiagrams branch from a336e63 to f797a35 Compare November 26, 2025 14:00
This data is read into an `unordered_map` which does not allow duplicates. Only the first entries should have been used. However, I found some discrepancies between macOS and Linux. For an Ab chord, macOS was using the first entry as expected. Linux was using the second.
I have a feeling this is due to a faulty `hash` implementation for `String`. It seemed like on Linux the collision wasn't noticed in `insert` and the original entry overwritten. I couldn't get this working and removing redundant entries seemed a sensible thing to do anyway.
@miiizen miiizen force-pushed the 23712-transposeFretDiagrams branch from f797a35 to 384c638 Compare November 26, 2025 14:01
This was causing overflows somewhere and causing `transposeTpc` to return different values on macOS and Linux
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Transposition of fretboard diagrams and chord symbols

3 participants