Permalink
Browse files

work around an apparent rakudobug, which I will investigate later

  • Loading branch information...
moritz committed Jul 28, 2010
1 parent 34112ac commit ad7e64846b774ede621f8079243cb14da304c32d
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/Math/Model.pm
View
@@ -31,7 +31,7 @@ has @.time;
has $.numeric-error is rw = 0.0001;
my sub param-names(&c) {
- &c.signature.params».name».substr(1).grep: * !eq '_';
+ &c.signature.params».name».substr(1).grep({ $_ ne '_'});
}
method !params-for(&c) {

0 comments on commit ad7e648

Please sign in to comment.