We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The return type of abs(const std::complex<T>& x) should be T (not std::complex<T> as it is now).
abs(const std::complex<T>& x)
T
std::complex<T>
v3.1.0
The text was updated successfully, but these errors were encountered:
complex abs return type test; fixes #1836
8ccdd28
4b3eb6f
Merge pull request #1837 from stan-dev/bugfix/1836-complex-abs-return
ee3a660
return value type for complex abs; fixes #1836
bob-carpenter
No branches or pull requests
Description
The return type of
abs(const std::complex<T>& x)
should beT
(notstd::complex<T>
as it is now).Current Version:
v3.1.0
The text was updated successfully, but these errors were encountered: