diff src/ov.cc @ 4038:243f50d6f3d5

[project @ 2002-08-14 19:31:19 by jwe]
author jwe
date Wed, 14 Aug 2002 19:31:19 +0000
parents a8621d87fbf5
children 9678c5526190
line wrap: on
line diff
--- a/src/ov.cc
+++ b/src/ov.cc
@@ -506,10 +506,7 @@
 octave_value::octave_value (const octave_value_list& l, bool is_cs_list)
   : rep (0)
 {
-  if (is_cs_list)
-    rep = new octave_cs_list (l);
-  else
-    new octave_list (l);
+  rep = is_cs_list ? new octave_cs_list (l) : new octave_list (l);
 
   rep->count = 1;
 }