From bug-octave-request at bevo dot che dot wisc dot edu Fri Jun 1 08:41:48 2001 Subject: besseli function doesn't work From: Daniel Alt To: bug-octave at bevo dot che dot wisc dot edu Cc: dea at ttpcom dot com Date: Fri, 1 Jun 2001 14:40:27 +0100 (BST) Bug report for Octave 2.0.10 configured for sparc-sun-sunos4.1.2 Description: ----------- When I attempt to use the bessli function it generates errors and returns no value. Here is part of an octave transcript: spock:dea[26]=> octave Octave, version 2.0.10 (sparc-sun-sunos4.1.2). Copyright (C) 1996, 1997, 1998 John W. Eaton. This is free software with ABSOLUTELY NO WARRANTY. For details, type `warranty'. octave.bin:1> besseli(1,2) error: besseli: error computing function values error: evaluating index expression near line 1, column 1 octave.bin:1> Repeat-By: --------- This seems to be unrelated to any sequence of events. Whether I attempt to use besseli() right after starting octave or after doing some other calculations I get the same results (except for the line and column numbers). Fix: --- * If possible, replace this item with a description of how to fix the problem (if you don't have a fix for the problem, don't include this section, but please do submit your report anyway). Configuration (please do not edit this section): ----------------------------------------------- uname output: SunOS spock 5.6 Generic_105181-13 sun4m sparc SUNW,SPARCstation-20 configure opts: --disable-shared --disable-dl --disable-shl Fortran compiler: f77 FFLAGS: -O F2C: F2CFLAGS: FLIBS: -u _MAIN_ -L/usr/lang/SC1.0/cg87 -L/usr/lang/SC1.0 -lF77 -lm CPPFLAGS: INCFLAGS: -I/usr/local/include -I/usr/local/include/octave-2.0.10 C compiler: gcc, version 2.7.2 CFLAGS: -DHAVE_CONFIG_H -g -O2 -Wall CPICFLAG: -fPIC C++ compiler: c++, version 2.7.2 CXXFLAGS: -DHAVE_CONFIG_H -fno-rtti -fno-implicit-templates -g -O2 -Wall CXXPICFLAG: -fPIC LDFLAGS: -g LIBFLAGS: -L/usr/local/lib/octave-2.0.10 RLD_FLAG: -L/usr/local/lib/octave-2.0.10 TERMLIBS: -ltermcap LIBS: LEXLIB: LIBPLPLOT: LIBDLFCN: DEFS: -DOCTAVE_SOURCE=1 -DSEPCHAR=':' -DSEPCHAR_STR=":" -DUSE_GNU_INFO=1 -DUSE_READLINE=1 -DF77_APPEND_UNDERSCORE=1 -DSIZEOF_SHORT=2 -DSIZEOF_INT=4 -DSIZEOF_LONG=4 -DHAVE_ALLOCA_H=1 -DHAVE_ALLOCA=1 -DHAVE_DIRENT_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_ASSERT_H=1 -DHAVE_CURSES_H=1 -DHAVE_DLFCN_H=1 -DHAVE_FCNTL_H=1 -DHAVE_FLOAT_H=1 -DHAVE_FLOATINGPOINT_H=1 -DHAVE_GRP_H=1 -DHAVE_LIMITS_H=1 -DHAVE_MEMORY_H=1 -DHAVE_NAN_H=1 -DHAVE_PWD_H=1 -DHAVE_SGTTY_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_SYS_PARAM_H=1 -DHAVE_SYS_RESOURCE_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_SYS_TIMES_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_UTSNAME_H=1 -DHAVE_TERMCAP_H=1 -DHAVE_TERMIO_H=1 -DHAVE_TERMIOS_H=1 -DHAVE_UNISTD_H=1 -DHAVE_VARARGS_H=1 -DHAVE_BCOPY=1 -DHAVE_BZERO=1 -DHAVE_DUP2=1 -DHAVE_ENDGRENT=1 -DHAVE_ENDPWENT=1 -DHAVE_EXECVP=1 -DHAVE_FCNTL=1 -DHAVE_FORK=1 -DHAVE_GETCWD=1 -DHAVE_GETEGID=1 -DHAVE_GETEUID=1 -DHAVE_GETGID=1 -DHAVE_GETGRENT=1 -DHAVE_GETGRGID=1 -DHAVE_GETGRNAM=1 -DHAVE_GETHOSTNAME=1 -DHAVE_GETPGRP= User-preferences (please do not edit this section): -------------------------------------------------- EDITOR = "/usr/dt/bin/dtpad" IMAGEPATH = ".:/usr/local/share/octave/2.0.10/imagelib//" INFO_FILE = "/eda/utils/octave/info/octave.info" LOADPATH = ".:/eda/utils/octave/libexec/octave/site/oct/sparc-sun-sunos4.1.2//:/eda/utils/octave/share/octave/site/m//:/eda/utils/octave/libexec/octave/2.0.10/oct/sparc-sun-sunos4.1.2//:/eda/utils/octave/share/octave/2.0.10/m//" OCTAVE_VERSION = "2.0.10" PAGER = "less -e -P'-- less ?pB(%pB\\%):--. (f)orward, (b)ack, (q)uit$'" PS1 = "\\s:\\#> " PS2 = "> " automatic_replot = 0 whitespace_in_literal_matrix = "" default_save_format = "ascii" do_fortran_indexing = 0 empty_list_elements_ok = "warn" eps = 2.22045e-16 gnuplot_binary = "gnuplot" ignore_function_time_stamp = "system" implicit_str_to_num_ok = 0 ok_to_lose_imaginary_part = "warn" output_max_field_width = 10 output_precision = 5 page_screen_output = 1 prefer_column_vectors = 1 prefer_zero_one_indexing = 0 print_answer_id_name = 1 print_empty_dimensions = 1 propagate_empty_matrices = 1 resize_on_range_error = 1 return_last_computed_value = 0 save_precision = 15 silent_functions = 0 split_long_rows = 1 treat_neg_dim_as_zero = 0 warn_assign_as_truth_value = 1 warn_comma_in_global_decl = 1 warn_divide_by_zero = 1 ------------------------------------------------------------- Octave is freely available under the terms of the GNU GPL. Octave's home on the web: http://www.octave.org How to fund new projects: http://www.octave.org/funding.html Subscription information: http://www.octave.org/archive.html -------------------------------------------------------------