Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
tsoc
openmm
Commits
aa6b055b
Commit
aa6b055b
authored
Jul 19, 2011
by
Peter Eastman
Browse files
Fixed compilation error on Windows
parent
01da523c
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
platforms/reference/src/SimTKReference/fftpack.h
platforms/reference/src/SimTKReference/fftpack.h
+4
-2
No files found.
platforms/reference/src/SimTKReference/fftpack.h
View file @
aa6b055b
...
@@ -51,13 +51,15 @@ public:
...
@@ -51,13 +51,15 @@ public:
t_complex
operator
-
(
const
t_complex
&
c
)
const
{
t_complex
operator
-
(
const
t_complex
&
c
)
const
{
return
t_complex
(
re
-
c
.
re
,
im
-
c
.
im
);
return
t_complex
(
re
-
c
.
re
,
im
-
c
.
im
);
}
}
t_complex
operator
+=
(
const
t_complex
&
c
)
{
t_complex
&
operator
+=
(
const
t_complex
&
c
)
{
re
+=
c
.
re
;
re
+=
c
.
re
;
im
+=
c
.
im
;
im
+=
c
.
im
;
return
*
this
;
}
}
t_complex
operator
-=
(
const
t_complex
&
c
)
{
t_complex
&
operator
-=
(
const
t_complex
&
c
)
{
re
-=
c
.
re
;
re
-=
c
.
re
;
im
-=
c
.
im
;
im
-=
c
.
im
;
return
*
this
;
}
}
};
};
...
...
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