mirror of
https://github.com/marian-nmt/marian.git
synced 2024-09-11 06:15:56 +03:00
in loop
This commit is contained in:
parent
437863be38
commit
d19f1f610f
@ -16,8 +16,11 @@ int main(int argc, char** argv) {
|
|||||||
Var y = 0.0;
|
Var y = 0.0;
|
||||||
for(int i = 0; i < max; i++) {
|
for(int i = 0; i < max; i++) {
|
||||||
Var xi = i;
|
Var xi = i;
|
||||||
y = y + x0 + log(x2) + x1 + xi;
|
y = y + x0 + log(x2) + x1;
|
||||||
x.push_back(xi);
|
for(int j = 0; j < i; ++i) {
|
||||||
|
y = y + xi;
|
||||||
|
x.push_back(xi);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user