Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SF#330 NiceSlice can get confused by comments to cause compilation errors #32

Closed
perldl-bot opened this issue Mar 2, 2015 · 2 comments
Milestone

Comments

@perldl-bot
Copy link

From http://sourceforge.net/p/pdl/bugs/330

@zmughal zmughal modified the milestones: PDL v2.008, PDL v2.009 Mar 2, 2015
@zmughal zmughal added sf:pri-4 and removed sf:pri-7 labels Mar 15, 2015
@zmughal zmughal modified the milestones: PDL v2.009, PDL v2.011 Mar 15, 2015
@mohawk2
Copy link
Member

mohawk2 commented Jul 30, 2021

@dkogan 's sample program with @devel-chm 's modification to make it do something, plus my addition of setting PDL_NICESLICE_ENGINE at the start:

#!/usr/bin/perl
#BEGIN { $ENV{PDL_NICESLICE_ENGINE} = 'Filter::Simple' } # uncomment and it works - fails with default Filter::Util::Call engine
use strict;
use warnings;
use PDL;
use PDL::NiceSlice;
# $f(

my $p = sequence(7);
my @x = $p->(1:-1)->list;
print "@x";

@mohawk2
Copy link
Member

mohawk2 commented Jan 2, 2022

Fixed by 4a790d9

@mohawk2 mohawk2 closed this as completed Jan 2, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants