blob: ce4773303eccc2afb3d09b8b73849f4eb4be3a5f (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
|
--- save_fits_image.cc.orig 2015-06-11 11:19:38 UTC
+++ save_fits_image.cc
@@ -81,7 +81,7 @@ DEFUN_DLD( save_fits_image, args, nargout,
else if( args(2).is_scalar_type() )
{
double val = args(2).double_value();
- if( (D_NINT( val ) == val) )
+ if( (round( val ) == val) )
{
if( BYTE_IMG == val )
bitperpixel = BYTE_IMG;
|