Skip to content

Commit

Permalink
Get rid of debug-only code introduced in the last commit
Browse files Browse the repository at this point in the history
ref #206
  • Loading branch information
ddemidov committed May 17, 2016
1 parent 23da8da commit 16e46f7
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions examples/symbolic.cpp
Expand Up @@ -89,8 +89,6 @@ int main( int argc , char **argv )
sym_stepper.do_step(std::ref(sys), sym_S, 0, dt);

auto kernel = vex::generator::build_kernel(ctx, "lorenz", body.str(),
sym_S[0], sym_S[1], sym_S[2], sym_R,
sym_S[0], sym_S[1], sym_S[2], sym_R,
sym_S[0], sym_S[1], sym_S[2], sym_R
);

Expand All @@ -111,11 +109,7 @@ int main( int argc , char **argv )

// Integration loop:
for(value_type t = 0; t < t_max; t += dt)
kernel(
X, Y, Z, R,
X, Y, Z, R,
X, Y, Z, R
);
kernel(X, Y, Z, R);

std::vector< value_type > result( n );
vex::copy( X , result );
Expand Down

0 comments on commit 16e46f7

Please sign in to comment.