Open akhenakh opened 4 years ago
These two in particular are meant to be outputs of these methods according to the original function headers - should've included those when I ported the library...
I've done a brief look-over, and it's kinda silly to pass these into the function when they're meant to be outputs. It'd be ideal to go through the headers of the original implementation and make changes to the function declarations here to align them. I believe these were essentially passed-by-reference variables in the original implementation.
Linking my other comment here as well; this indicates the root-cause of these issues: https://github.com/joshuaferrara/go-satellite/pull/7#issuecomment-596023334
I'm working of cleaning the code with some linters and found this
For example
e3 = 2.0 * s1 * s7
is assigned before read