Skip to content

Commit

Permalink
coding style fixed.
Browse files Browse the repository at this point in the history
  • Loading branch information
eminor1988 committed May 1, 2017
1 parent 9e77d85 commit 8894108
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions test/test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -419,9 +419,9 @@ int main(int argc, char *argv[]) {

// Time streching.
if (argc > 5) {
const double timeStretching = min( max( 0.001, atof(argv[5])), 100.0);
world_parameters.frame_period *= timeStretching;
y_length = static_cast<int>(ceil(y_length * timeStretching));
const double time_stretching = min( max( 0.001, atof(argv[5])), 100.0);
world_parameters.frame_period *= time_stretching;
y_length = static_cast<int>(ceil(y_length * time_stretching));
}

double *y = new double[y_length];
Expand Down

0 comments on commit 8894108

Please sign in to comment.