X-Git-Url: http://dxcluster.net/gitweb/gitweb.cgi?a=blobdiff_plain;f=perl%2FMinimuf.pm;h=7f309979d7c30e8b89ae52249f6a50026933be26;hb=9b47e7023d41616a9efa885ef9338277dc2ab851;hp=d9b9e06fefa252ba5cf46c7971f9cf565ff65bd1;hpb=8ccb679964e6761c209fe2c3ee7a1084295dca97;p=spider.git diff --git a/perl/Minimuf.pm b/perl/Minimuf.pm index d9b9e06f..7f309979 100644 --- a/perl/Minimuf.pm +++ b/perl/Minimuf.pm @@ -36,7 +36,6 @@ package Minimuf; -use POSIX; require Exporter; @ISA = qw(Exporter); @@ -45,6 +44,16 @@ require Exporter; $noise); use strict; + +use DXDebug; +use POSIX qw(:math_h); + +use vars qw($VERSION $BRANCH); +$VERSION = sprintf( "%d.%03d", q$Revision$ =~ /(\d+)\.(\d+)/ ); +$BRANCH = sprintf( "%d.%03d", q$Revision$ =~ /\d+\.\d+\.(\d+)\.(\d+)/ || (0,0)); +$main::build += $VERSION; +$main::branch += $BRANCH; + use vars qw($pi $d2r $r2d $halfpi $pi2 $VOFL $R $hE $hF $GAMMA $LN10 $MINBETA $BOLTZ $NTEMP $DELTAF $MPATH $GLOSS $SLOSS $noise); @@ -473,7 +482,7 @@ sub ds $s = 0 if $s < 0; my $plus = (($l / 6) >= $s + 0.5) ? '+' : ' '; - return "$c2\S$s$plus"; + return "$c2". "S$s$plus"; } 1;