diff liboctave/numeric/lo-mappers.cc @ 19944:3fa35defe495

Adjust spacing of static_cast<> calls to follow Octave coding conventions. * __init_qt__.cc, file-editor.cc, main-window.cc, bsxfun.cc, data.cc, filter.cc, gammainc.cc, ls-hdf5.cc, mex.cc, oct-stream.cc, lo-mappers.cc, lo-specfun.cc, data-conv.cc, lo-regexp.cc, oct-inttypes.h: Adjust spacing of static_cast<> calls to follow Octave coding conventions.
author Rik <rik@octave.org>
date Tue, 17 Feb 2015 13:34:32 -0800
parents 9155bab86647
children
line wrap: on
line diff
--- a/liboctave/numeric/lo-mappers.cc
+++ b/liboctave/numeric/lo-mappers.cc
@@ -475,7 +475,7 @@
 FloatComplex
 atanh (const FloatComplex& x)
 {
-  return log ((1.0f + x) / (static_cast<float> (1.0) - x)) / 2.0f;
+  return log ((1.0f + x) / (1.0f - x)) / 2.0f;
 }
 
 // complex -> bool mappers.