Skip to content

Commit

Permalink
fix return value type in sample
Browse files Browse the repository at this point in the history
  • Loading branch information
suomesta committed Feb 8, 2025
1 parent 0b23a69 commit a7d155c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion reference/complex/complex/arg.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ int main()
{
std::complex<double> c(1.0, 2.0);
std::complex<double> result = std::arg(c);
double result = std::arg(c);
std::cout << "arg( " << c << " ) = " << result << std::endl;
}
```
Expand Down

0 comments on commit a7d155c

Please sign in to comment.