Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Gauthier Quesnel
irritator
Commits
253133c0
Commit
253133c0
authored
Aug 12, 2020
by
Gauthier Quesnel
Browse files
core: remove useless code in QSS3 transition
parent
c34c0c63
Changes
1
Show whitespace changes
Inline
Side-by-side
lib/include/irritator/core.hpp
View file @
253133c0
...
...
@@ -3515,7 +3515,6 @@ struct qss3_integrator
auto
w
=
c
-
b
*
a
/
3.
+
2.
*
a
*
a
*
a
/
27.
;
auto
i1
=
-
w
/
2.
;
auto
i2
=
i1
*
i1
+
v
*
v
*
v
/
27.
;
auto
s
=
0.
;
if
(
i2
>
0
)
{
i2
=
std
::
sqrt
(
i2
);
...
...
@@ -3531,7 +3530,7 @@ struct qss3_integrator
else
B
=
-
std
::
pow
(
std
::
abs
(
B
),
1.
/
3.
);
auto
s
=
A
+
B
-
a
/
3.
;
s
=
A
+
B
-
a
/
3.
;
if
(
s
<
0.
)
s
=
time_domain
<
time
>::
infinity
;
}
else
if
(
i2
==
0.
)
{
...
...
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