diff src/ov.cc @ 7065:97db94ae2cf0

[project @ 2007-10-25 05:50:55 by jwe]
author jwe
date Thu, 25 Oct 2007 05:50:56 +0000
parents faff87ff9d5a
children 745a8299c2b5
line wrap: on
line diff
--- a/src/ov.cc
+++ b/src/ov.cc
@@ -348,7 +348,7 @@
 #endif
 
 octave_value::octave_value (octave_time t)
-  : rep (new octave_scalar (t))
+  : rep (new octave_scalar (t.double_value ()))
 {
 }