Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
qbox-public
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
qbox
qbox-public
Commits
a0ff3b71
Commit
a0ff3b71
authored
Feb 03, 2020
by
Francois Gygi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix D3tensor.h
parent
39fd7985
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
D3tensor.h
src/D3tensor.h
+3
-3
No files found.
src/D3tensor.h
View file @
a0ff3b71
...
...
@@ -244,9 +244,9 @@ class D3tensor
double
norm2
(
const
D3tensor
&
a
)
const
{
return
a
_
[
0
]
*
a_
[
0
]
+
a_
[
1
]
*
a_
[
1
]
+
a_
[
2
]
*
a_
[
2
]
+
a
_
[
3
]
*
a_
[
3
]
+
a_
[
4
]
*
a_
[
4
]
+
a_
[
5
]
*
a_
[
5
]
+
a
_
[
6
]
*
a_
[
6
]
+
a_
[
7
]
*
a_
[
7
]
+
a_
[
8
]
*
a_
[
8
];
return
a
[
0
]
*
a
[
0
]
+
a
[
1
]
*
a
[
1
]
+
a
[
2
]
*
a
[
2
]
+
a
[
3
]
*
a
[
3
]
+
a
[
4
]
*
a
[
4
]
+
a
[
5
]
*
a
[
5
]
+
a
[
6
]
*
a
[
6
]
+
a
[
7
]
*
a
[
7
]
+
a
[
8
]
*
a
[
8
];
}
double
norm
(
const
D3tensor
&
a
)
const
...
...
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