ArrayFormat show() fails on double scalar/vector (at least)
Bugzilla Link | 936 |
Created on | Mar 19, 2012 21:08 |
Version | svn |
OS | Linux |
Architecture | PC |
Extended Description
Array formatting fails to print double scalars and vectors correctly, in both show() and format() flavors. This is a long-standing bug. This function: cat crud.sac use Array: all; use StdIO : all; use ArrayFormat: all; int main() { print(format(42.5)); show( 42.5); print( 42.5); show( [42.5]); return(0); } produces this output: a.out Dimension: 1 Shape : < 22> < > Dimension: 0 Shape : < > 42.5 4 Not even close.
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information