From: Vincent Pit Date: Sun, 1 Aug 2010 20:35:33 +0000 (+0200) Subject: LT::Functor: compare sets with numeric equality X-Git-Tag: v0.02~11 X-Git-Url: http://git.vpit.fr/?a=commitdiff_plain;h=ccef95119764f56b5f77bd85c5199f5d375ca08e;p=perl%2Fmodules%2FLaTeX-TikZ.git LT::Functor: compare sets with numeric equality --- diff --git a/lib/LaTeX/TikZ/Functor.pm b/lib/LaTeX/TikZ/Functor.pm index 4ccfd32..d4ba074 100644 --- a/lib/LaTeX/TikZ/Functor.pm +++ b/lib/LaTeX/TikZ/Functor.pm @@ -147,7 +147,7 @@ sub new { return $set unless $rule; my $new_set = $rule->handler->($self, $set, @_); - return $set if $new_set eq $set; + return $set if $new_set == $set; my @new_mods; MOD: