Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Open sidebar
OPAL
src
Commits
4510a63e
Commit
4510a63e
authored
Jul 15, 2020
by
frey_m
Browse files
RealDiracMatrix: remove unused variable
parent
ec86d04d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
1 deletion
+0
-1
src/Distribution/RealDiracMatrix.cpp
src/Distribution/RealDiracMatrix.cpp
+0
-1
No files found.
src/Distribution/RealDiracMatrix.cpp
View file @
4510a63e
...
@@ -180,7 +180,6 @@ void RealDiracMatrix::transform(matrix_t& M, short i, double phi,
...
@@ -180,7 +180,6 @@ void RealDiracMatrix::transform(matrix_t& M, short i, double phi,
{
{
if
(
phi
)
{
// if phi == 0 --> nothing happens, since R and invR would be identity_matrix matrix
if
(
phi
)
{
// if phi == 0 --> nothing happens, since R and invR would be identity_matrix matrix
sparse_matrix_t
R
(
4
,
4
),
invR
(
4
,
4
);
sparse_matrix_t
R
(
4
,
4
),
invR
(
4
,
4
);
sparse_matrix_t
I
=
boost
::
numeric
::
ublas
::
identity_matrix
<
double
>
(
4
);
transform
(
i
,
phi
,
R
,
invR
);
transform
(
i
,
phi
,
R
,
invR
);
...
...
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