[project @ 2004-02-17 19:59:23 by jwe]
author |
jwe |
date |
Tue, 17 Feb 2004 19:59:23 +0000 |
parents |
55975a3073be |
children |
d3018a33c584 |
files |
liboctave/lo-utils.cc liboctave/oct-fftw.cc |
diffstat |
2 files changed, 2 insertions(+), 2 deletions(-)
[+]
|
line diff
--- a/liboctave/lo-utils.cc
+++ b/liboctave/lo-utils.cc
@@ -54,7 +54,7 @@
else if (x < INT_MIN)
return INT_MIN;
else
- return (x > 0) ? ((int) (x + 0.5)) : ((int) (x - 0.5));
+ return static_cast<int> ((x > 0) ? (x + 0.5) : (x - 0.5));
}
double
--- a/liboctave/oct-fftw.cc
+++ b/liboctave/oct-fftw.cc
@@ -373,7 +373,7 @@
int
octave_fftw::ifftNd (const Complex *in, Complex *out, const int rank,
- const dim_vector &dv)
+ const dim_vector &dv)
{
int dist = 1;
for (int i = 0; i < rank; i++)