# HG changeset patch # User Rik # Date 1453335023 28800 # Node ID 90cd0f9442d5fb1cc8e1b1543154f884f8ed24ba # Parent 3ac9f47fb04b06a080bb060427f7d6eb64a48cf3 dasrt.cc: Replace "< 1" with "== 0" in conditional for uniformity. * dasrt.cc (dasrt_user_f): Replace "< 1" with "== 0" in conditional for uniformity with other dasXXX functions. diff -r 3ac9f47fb04b -r 90cd0f9442d5 libinterp/corefcn/dasrt.cc --- a/libinterp/corefcn/dasrt.cc Wed Jan 20 16:08:30 2016 -0800 +++ b/libinterp/corefcn/dasrt.cc Wed Jan 20 16:10:23 2016 -0800 @@ -84,7 +84,7 @@ err_user_supplied_eval (e, "dasrt"); } - if (tmp.length () < 1 || ! tmp(0).is_defined ()) + if (tmp.length () == 0 || ! tmp(0).is_defined ()) err_user_supplied_eval ("dasrt"); if (! warned_fcn_imaginary && tmp(0).is_complex_type ())