Skip to content

Commit 77a431f

Browse files
authored
Merge pull request #945 from paulvojta/main
Minor bug fixes in macro files (reduces log messages)
2 parents 18c509f + ffcb631 commit 77a431f

File tree

2 files changed

+1
-16
lines changed

2 files changed

+1
-16
lines changed

OpenProblemLibrary/macros/Alfred/Alfredmacros.pl

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -27,20 +27,6 @@ sub inversetrig
2727
}
2828

2929
## Compute the max and min of an array of numbers
30-
sub max {
31-
my $maximum = shift @_;
32-
foreach(@_){
33-
if ($maximum < $_){$maximum = $_};
34-
};
35-
return $maximum;
36-
}
37-
sub min {
38-
my $minimum = shift @_;
39-
foreach(@_){
40-
if ($minimum > $_){$minimum = $_};
41-
};
42-
return $minimum;
43-
}
4430

4531

4632

OpenProblemLibrary/macros/FortLewis/VectorField2D.pl

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,6 @@ sub VectorField2D {
5353
my $FX;
5454
my $FY;
5555
my $xtip;
56-
my $xtail;
5756
my $xstem;
5857
my $ystem;
5958
my $xmidtip;
@@ -108,4 +107,4 @@ sub VectorField2D {
108107

109108
}
110109

111-
1;
110+
1;

0 commit comments

Comments
 (0)