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 402
    • Issues 402
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 13
    • Merge requests 13
  • Deployments
    • Deployments
    • Releases
  • Wiki
    • Wiki
  • External wiki
    • External wiki
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • sac-group
  • sac2csac2c
  • Issues
  • #2083
Closed
Open
Created Jul 24, 2008 by Robert Bernecky@rbeDeveloper

empty vector AKV/AKS ambiguity problem

Bugzilla Link 452
Created on Jul 24, 2008 23:44
Resolution FIXED
Resolved on Sep 16, 2008 12:24
Version 1.00beta
OS Linux
Architecture PC

Extended Description

Compile this and it works. Compile it with -DBUG and the compiler grumps.
--------------------------------------------------------------------------
/* Empty vector reshape one-element vector should produce scalar result */
int main()
{ 
 int z;
 int [0] x;
 int [1] y;
 x = [:int];
 y = [1];
#ifdef BUG
 z = rhoIII(x,y);
#else //BUG
 z = _reshape_VxA_(x, y);
#endif //BUG
 return(z);
}
int rhoIII(int[0] x, int[1] y)
{
 int z;
 z = _reshape_VxA_(x, y);
 return(z);
}
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking