Skip to content

Commit

Permalink
Merge pull request #945 from paulvojta/main
Browse files Browse the repository at this point in the history
Minor bug fixes in macro files (reduces log messages)
  • Loading branch information
drdrew42 authored Aug 19, 2022
2 parents 18c509f + ffcb631 commit 77a431f
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 16 deletions.
14 changes: 0 additions & 14 deletions OpenProblemLibrary/macros/Alfred/Alfredmacros.pl
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}



Expand Down
3 changes: 1 addition & 2 deletions OpenProblemLibrary/macros/FortLewis/VectorField2D.pl
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,6 @@ sub VectorField2D {
my $FX;
my $FY;
my $xtip;
my $xtail;
my $xstem;
my $ystem;
my $xmidtip;
Expand Down Expand Up @@ -108,4 +107,4 @@ sub VectorField2D {

}

1;
1;

0 comments on commit 77a431f

Please sign in to comment.