You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There is no clear definition of how this constructor should behave. This leads to problems like https://bugzilla.mozilla.org/show_bug.cgi?id=1324181 where it's totally unclear what should actually happen for various inputs.
The text was updated successfully, but these errors were encountered:
To resolve this issue, I think we need to say what happens if both real and imag are given but the lengths are different. I think we have two options here:
It's an error, like for createPeriodicWave; both must have the same length
The shorter is zero-padded to have the same length as the longer. This is a convenience.
I prefer the first, to make the behaviour consistent with the factor method. The convenience factor isn't really compelling to me because if you need to specify both components, they very likely have to be the same length anyway to get all of the harmonics and phase that you want.
If both the `real` and `imag` members of the `PeriodicWaveOptions`
dictionary are specified, they must have the same length. Otherwise a
NotSupportedError is thrown.
(Not sure if NotSupportedError is the right one, though.)
There is no clear definition of how this constructor should behave. This leads to problems like https://bugzilla.mozilla.org/show_bug.cgi?id=1324181 where it's totally unclear what should actually happen for various inputs.
The text was updated successfully, but these errors were encountered: