diff --git a/OpenProblemLibrary/macros/Alfred/Alfredmacros.pl b/OpenProblemLibrary/macros/Alfred/Alfredmacros.pl index 3a9ce4fbd7..de0871b50a 100755 --- a/OpenProblemLibrary/macros/Alfred/Alfredmacros.pl +++ b/OpenProblemLibrary/macros/Alfred/Alfredmacros.pl @@ -27,20 +27,6 @@ sub inversetrig } ## Compute the max and min of an array of numbers -sub max { -my $maximum = shift @_; -foreach(@_){ - if ($maximum < $_){$maximum = $_}; -}; -return $maximum; -} -sub min { -my $minimum = shift @_; -foreach(@_){ - if ($minimum > $_){$minimum = $_}; -}; -return $minimum; -} diff --git a/OpenProblemLibrary/macros/FortLewis/VectorField2D.pl b/OpenProblemLibrary/macros/FortLewis/VectorField2D.pl index 23cbf5d5a2..0f13640ab6 100755 --- a/OpenProblemLibrary/macros/FortLewis/VectorField2D.pl +++ b/OpenProblemLibrary/macros/FortLewis/VectorField2D.pl @@ -53,7 +53,6 @@ sub VectorField2D { my $FX; my $FY; my $xtip; -my $xtail; my $xstem; my $ystem; my $xmidtip; @@ -108,4 +107,4 @@ sub VectorField2D { } -1; \ No newline at end of file +1;