Skip to content

Commit

Permalink
Update ccalltest.c
Browse files Browse the repository at this point in the history
  • Loading branch information
ivarne committed Mar 24, 2015
1 parent 03da3a3 commit 97b1870
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/ccalltest.c
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ complex_t ctest(complex_t a) {
complex double cgtest(complex double a) {
//Unpack a ComplexPair{Float64} struct
if (verbose) fprintf(stderr,"%g + %g i\n", creal(a), cimag(a));
a += 1 - (2.0*i);
a += 1 - (2.0*I);
return a;
}

Expand Down

0 comments on commit 97b1870

Please sign in to comment.