mirror of
https://github.com/marian-nmt/marian.git
synced 2024-08-15 01:00:23 +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;
|
||||
for(int i = 0; i < max; i++) {
|
||||
Var xi = i;
|
||||
y = y + x0 + log(x2) + x1 + xi;
|
||||
x.push_back(xi);
|
||||
y = y + x0 + log(x2) + x1;
|
||||
for(int j = 0; j < i; ++i) {
|
||||
y = y + xi;
|
||||
x.push_back(xi);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user