Skip to content

Commit

Permalink
format source code
Browse files Browse the repository at this point in the history
  • Loading branch information
feizheng10 committed Jul 23, 2019
1 parent 4628e54 commit 47a05c3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions library/src/device/real2complex.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -404,8 +404,8 @@ __global__ void real_1d_pre_post_process_kernel(size_t half_N,

if(R2C)
{
u = u*0.5;
v = v*0.5;
u = u * 0.5;
v = v * 0.5;
}
else
{
Expand Down
4 changes: 2 additions & 2 deletions library/src/hipfft.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1019,9 +1019,9 @@ hipfftResult hipfftGetVersion(int* version)
sections.push_back(tmp_str);
}

for(size_t i = 0; i < sections.size()-1; i++)
for(size_t i = 0; i < sections.size() - 1; i++)
{
if (sections[i].size() == 1)
if(sections[i].size() == 1)
result << "0" << sections[i];
else
result << sections[i];
Expand Down

0 comments on commit 47a05c3

Please sign in to comment.