diff options
author | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2015-08-23 12:17:05 +0200 |
---|---|---|
committer | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2015-08-23 12:17:05 +0200 |
commit | c0b89ac5bfb90835ef01573267020e42d4fe070c (patch) | |
tree | 733c16852d964d84b7565af4bdaff0bcca901b88 /profile/profout.c | |
parent | 094535c010320967639e8e86f974d878e80baa72 (diff) |
Imported Upstream version 1.8.0upstream/1.8.0
Diffstat (limited to 'profile/profout.c')
-rwxr-xr-x[-rw-r--r--] | profile/profout.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/profile/profout.c b/profile/profout.c index 790ffa4..1a6f4ae 100644..100755 --- a/profile/profout.c +++ b/profile/profout.c @@ -1720,6 +1720,9 @@ make_output_icc( if ((spi[j] = icg->find_field(icg, 0, buf)) < 0) error("Input file doesn't contain field %s",buf); + + if (icg->t[0].ftype[spi[j]] != r_t) + error("Field %s is wrong type - expect float",buf); } if (isdisp) { |