From ea875d0e37c419ce753f19dfa2a6dd5b5a696f81 Mon Sep 17 00:00:00 2001 From: Josh Langsfeld Date: Mon, 20 Jul 2015 13:31:38 -0400 Subject: [PATCH] Fixed use of '++' operator --- src/oifile.jl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/oifile.jl b/src/oifile.jl index 4f92b5a..665847f 100644 --- a/src/oifile.jl +++ b/src/oifile.jl @@ -194,7 +194,7 @@ function read_datablock(hdu::HDU, hdr::FITSHeader; quiet::Bool=false) value = get_value(hdr, name, nothing) if value == nothing warn("missing keyword \"$name\" in OI-FITS $dbtype data-block") - ++nerrs + nerrs += 1 else data[field] = value end @@ -202,7 +202,7 @@ function read_datablock(hdu::HDU, hdr::FITSHeader; quiet::Bool=false) colnum = get(columns, name, 0) if colnum < 1 warn("missing column \"$name\" in OI-FITS $dbtype data-block") - ++nerrs + nerrs += 1 else data[field] = read_column(ff, colnum) end