problems with "aoutoload" in 3.1.55

John W. Eaton jwe at octave.org
Wed May 20 13:34:02 CDT 2009


On  9-May-2009, Carlo de Falco wrote:

| I experienced the following strange behaviour with 3.1.5 for functions  
| that are autoloaded from a .oct file,
| but I am not sure whether it is a bug or I just don't understand how  
| autoload is supposed to work
| 
| ------------------------
|  >> version
| ans = 3.1.55
|  >> pkg load nurbs
|  >> which findspan
| `findspan' is a function from the file /Users/carlo/octave/nurbs-1.0.0/ 
| i386-apple-darwin9.6.0-api-v37/low_level_functions.oct
|  >> which findspan
| `findspan' is a function from the file /Users/carlo/octave/nurbs-1.0.0/ 
| findspan.m
|  >> autoload("findspan","/Users/carlo/octave/nurbs-1.0.0/i386-apple- 
| darwin9.6.0-api-v37/low_level_functions.oct")
|  >> which findspan
| `findspan' is a function from the file /Users/carlo/octave/nurbs-1.0.0/ 
| findspan.m
|  >>
| ------------------------
| 
| anyway this worked differently in 3.0.5
| 
| ------------------------------
|  >> version
| ans = 3.0.5
|  >> which findspan
| findspan is the dynamically-linked function from the file
| /Users/carlo/octave/nurbs-1.0.0/i386-apple-darwin8.9.1-api-v32/ 
| low_level_functions.oct
|  >> which findspan
| findspan is the dynamically-linked function from the file
| /Users/carlo/octave/nurbs-1.0.0/i386-apple-darwin8.9.1-api-v32/ 
| low_level_functions.oct
|  >>
| ------------------------
| 
| any comments would be appreciated.

Can you provide a minimal and simple self-contained example that does
not depend on an external package?

Thanks,

jwe


More information about the Bug-octave mailing list