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
xerus
xerus
Commits
c1f013a4
Commit
c1f013a4
authored
Jul 11, 2017
by
Sebastian Wolf
Browse files
Fixed typo in Cascade example
parent
2ba4c02f
Pipeline
#766
passed with stages
in 6 minutes and 46 seconds
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
doc/jekyll/_includes/examples/cascade.cpp
View file @
c1f013a4
...
...
@@ -130,7 +130,7 @@ double get_mean_concentration(const TTTensor& _res, const size_t _i) {
const
Tensor
weights
({
MAX_NUM_PER_SITE
},
[](
const
size_t
_k
){
return
double
(
_k
);
});
const
Tensor
ones
=
Tensor
::
ones
({
1
,
MAX_NUM_PER_SITE
,
1
});
const
Tensor
ones
=
Tensor
::
ones
({
MAX_NUM_PER_SITE
});
for
(
size_t
j
=
0
;
j
<
_res
.
degree
();
++
j
)
{
if
(
j
==
_i
)
{
...
...
Write
Preview
Supports
Markdown
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