* Arno Onken <[email protected]> [2009-05-23 22:01]:
>> Rafael Laboissiere
>>
>> [caseread]
>> ***** assert (caseread ("caseread.dat"), n);
>> !!!!! test failed
>> error: caseread: cannot open caseread.dat: No such file or directory
>> shared variables {
>> n =
>>
>> a
>> bcd
>> ef
>>
>> }
>
> Apparently, caseread.dat is in the wrong directory. I found it in
> main/statistics/test.
Yes, the file is in SVN but not in the tarball. Perhaps the test/ directory
should me moved into inst/?
>> [copulapdf]
>> ***** test
>> x = [0.2, 0.6; 0.2, 0.6];
>> theta = [1; 2];
>> p = copulapdf ("Frank", x, theta);
>> expected_p = [0.9378; 0.8678];
>> assert (p, expected_p, 0.001);
>> !!!!! test failed
>> error: `expm1' undefined near line 140 column 56
>
> GSL is required for expm1 in copulapdf. I attached a patch that replaces
> expm1 in copulapdf.
Thanks. For the Debian package I am simply depending on gsl, for now.
FWIW, expm1 is available in Octave 3.1.55.
>> [tblwrite]
>> terminate called after throwing an instance of 'std::out_of_range'
>> what(): basic_string::replace
>> panic: Aborted -- stopping myself...
>
> Bill?
I tracked down the problem and found that it comes from cell2csv in
miscellaneous. Indeed, it fails on my system with:
octave:1> cell2csv ("foo",{"x,"})
terminate called after throwing an instance of 'std::out_of_range'
what(): basic_string::replace
panic: Aborted -- stopping myself...
attempting to save variables to `octave-core'...
save to `octave-core' complete
Aborted
This happens on my amd64 and I doubt that it happens on 32-bit systems,
like i386. There is a bug in src/cell2csv.cc where the result of
str.find(), which is of type size_t, is stored in a unsigned int
variable.
I already fix this in SVN r5866.
--
Rafael
------------------------------------------------------------------------------
Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT
is a gathering of tech-side developers & brand creativity professionals. Meet
the minds behind Google Creative Lab, Visual Complexity, Processing, &
iPhoneDevCamp asthey present alongside digital heavyweights like Barbarian
Group, R/GA, & Big Spaceship. http://www.creativitycat.com
_______________________________________________
Octave-dev mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/octave-dev