Skip to content

Commit

Permalink
use correct precision in f03-wrap.c, avoiding a (harmless) implicit p…
Browse files Browse the repository at this point in the history
…ointer cast that prevented compilation under C++; thanks to Kyle Spyksma for the bug report
  • Loading branch information
stevengj committed Aug 5, 2011
1 parent 50d1244 commit d7feb2d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions mpi/genf03-wrap.pl
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ sub canonicalize_type {
$type =~ s/^ //;
$type =~ s/ $//;
$type =~ s/([^\* ])\*/$1 \*/g;
$type =~ s/double/R/;
$type =~ s/fftw_([A-Za-z0-9_]+)/X(\1)/;
return $type;
}

Expand Down

0 comments on commit d7feb2d

Please sign in to comment.