PEAR is archived and read-only

This mirror preserves historical PEAR package releases and metadata so existing references remain available.

Home » Math » Math_Numerical_RootFinding » Bug #2897

Capitalization typo in falseposition.php

Details

Submitted2004-12-05 11:13 UTC
Fromadamg at pld-linux dot org
Assignedfirman
StatusClosed
PackageMath_Numerical_RootFinding
PHP VersionIrrelevant
OSIrrelevant
Roadmaps(Not assigned)

Comments

[2004-12-05 11:13 UTC] adamg at pld-linux dot org

Description:
------------
In Math/Numerical/RootFinding/falseposition.php there is a call:
require_once 'Math/Numerical/RootFinding/bracketing.php';
While the file is called Bracketing.php. This does not affect Windows, but on platforms where capitalization does matter, it causes an error.

Reproduce code:
---------------
Apply with -p1
--- php-pear-Math_Numerical_RootFinding-0.2.0.orig/Math_Numerical_RootFinding-0.2.0/Math/Numerical/RootFinding/falseposition.php 2004-12-05 11:59:13.152387880 +0100
+++ php-pear-Math_Numerical_RootFinding-0.2.0/Math_Numerical_RootFinding-0.2.0/Math/Numerical/RootFinding/falseposition.php 2004-12-05 11:59:58.942426736 +0100
@@ -30,7 +30,7 @@
/**
* Require bracketing method base class.

*/
-require_once 'Math/Numerical/RootFinding/bracketing.php';
+require_once 'Math/Numerical/RootFinding/Bracketing.php';

/**
* False Position method class.