Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Francesco Brarda
stan-math-petsc
Commits
d5d5c667
Commit
d5d5c667
authored
6 years ago
by
Stan Jenkins
Browse files
Options
Download
Email Patches
Plain Diff
[Jenkins] auto-formatting by clang-format version 5.0.0-3~16.04.1 (tags/RELEASE_500/final)
parent
bbbd7c59
feature/issue-123-complex
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
stan/math/rev/scal/fun/std_complex.hpp
+2
-5
stan/math/rev/scal/fun/std_complex.hpp
with
2 additions
and
5 deletions
+2
-5
stan/math/rev/scal/fun/std_complex.hpp
View file @
d5d5c667
...
...
@@ -80,17 +80,14 @@ complex<stan::math::var> operator*(const complex<stan::math::var>& z,
complex
<
stan
::
math
::
var
>
operator
*
(
const
complex
<
stan
::
math
::
var
>&
z
,
double
w
)
{
return
complex
<
stan
::
math
::
var
>
{
z
.
real
()
*
w
,
z
.
imag
()
*
w
};
return
complex
<
stan
::
math
::
var
>
{
z
.
real
()
*
w
,
z
.
imag
()
*
w
};
}
complex
<
stan
::
math
::
var
>
operator
*
(
double
z
,
const
complex
<
stan
::
math
::
var
>&
w
)
{
return
complex
<
stan
::
math
::
var
>
{
z
*
w
.
real
(),
z
*
w
.
imag
()};
return
complex
<
stan
::
math
::
var
>
{
z
*
w
.
real
(),
z
*
w
.
imag
()};
}
template
<
>
template
<
>
complex
<
stan
::
math
::
var
>&
complex
<
stan
::
math
::
var
>::
operator
/=
(
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment
Menu
Projects
Groups
Snippets
Help