Skip to content
GitLab
  • Menu
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • sac2c sac2c
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 403
    • Issues 403
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 12
    • Merge requests 12
  • Deployments
    • Deployments
    • Releases
  • Wiki
    • Wiki
  • External wiki
    • External wiki
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • sac-group
  • sac2csac2c
  • Issues
  • #1146
Closed
Open
Created Feb 24, 2013 by Robert Bernecky@rbeDeveloper

blife.sac could do better than it does

Bugzilla Link 1047
Created on Feb 24, 2013 20:19
Version svn
OS Linux
Architecture PC

Extended Description

I was just looking at bug725.sac, an incarnation of Conway's Game of Life,
It does this, in function addpad():
  sh1 = shape(a);
  pad1 = [genarray([sh1[1]],0)];
  add1 = pad1 ++ a ++ pad1;
The ++ functions are unable to AWLF, because of the way that pad1 
is defined. 
If the code is rewritten this way:
  sh1 = shape(a);
  shpad = [ 1, sh1[1]];
  pad1 = genarray(shpad,0);
  add1 = pad1 ++ a ++ pad1;
then the whole shebang wolds into a single WL. I think I'll go
change blife.sac to work this way. However, it would not
be a lot of work for some keener to make AWLF work on the original
blife.sac code.
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking