diff src/ov.cc @ 9725:aea3a3a950e1

implement nth_element
author Jaroslav Hajek <highegg@gmail.com>
date Wed, 14 Oct 2009 13:23:31 +0200
parents 1c19877799d3
children 70925b11ba46
line wrap: on
line diff
--- a/src/ov.cc
+++ b/src/ov.cc
@@ -1078,6 +1078,12 @@
   maybe_mutate ();
 }
 
+octave_value::octave_value (const Array<std::string>& cellstr)
+  : rep (new octave_cell (cellstr))
+{
+  maybe_mutate ();
+}
+
 octave_value::octave_value (double base, double limit, double inc)
   : rep (new octave_range (base, limit, inc))
 {