Tk Library Source Code

View Ticket
Login
Ticket UUID: 1119279
Title: error in loading math::rationalfunctions pkg
Type: Bug Version: None
Submitter: hemanglavana Created on: 2005-02-09 13:20:53
Subsystem: math Assigned To: andreas_kupries
Priority: 5 Medium Severity:
Status: Closed Last Modified: 2005-02-09 23:37:41
Resolution: Fixed Closed By: andreas_kupries
    Closed on: 2005-02-09 16:37:41
Description:
Please see the following error:

hlavana-u5:53> tclsh
% package require math::rationalfunctions
couldn't read file "polynomials.tcl": no such file or
directory
% exit
hlavana-u5:54> less
/auto/ttsw/ActiveTcl/8.4.9/lib/tcllib1.7/math/rational_funcs.tcl

# rational_funcs.tcl --
#    Implement procedures to deal with rational functions
#
source polynomials.tcl
package require math::polynomials
..

The "source polynomials.tcl" cmd  is causing this
problem. This line should be deleted because the
following line "package require math::polynomials"
loads the polynomials.tcl file correctly.

Hemang.
User Comments: andreas_kupries added on 2005-02-09 23:37:41:
Logged In: YES 
user_id=75003

This problem is fixed in the CVS.

2004-11-22  Andreas Kupries <[email protected]>

* rational_funcs.tcl: Removed bad source'ing of file
  polynomials.tcl. Depended on current working directory in the
  right place, and superfluous as well, as immediately after a
  'package require' of the package loaded it in the proper
  manner. Disabled the test code at the end as well.