You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is "%7g" the same as "%7.6g"? Then why not to be explicit, and why 7/6 vs. 10/8, i.e. "1" vs "2" difference, any reason? The above vars are of limited use only; format of no integral type is controlled in any way, "indx" is not really for integers. Consider:
This default formatting of 3 ndarrays is weird. While their contents appear to be the same, I of course understand they are not, but then magick "7" (see
Thanks for the report. The string method is now documented. I've removed the special case for a 1-D ndarray per element, and now for 1-D it uses the format if given, or just stringifies, so it's more consistent. More changes than that are sadly impossible, because a lot of tests depend on the behaviour of string as it is now.
(All of what follows is fixed with call to (undocumented?) PDL::string("required template") instead of default stringification)
This is just cosmetic annoyance, not "bug" as such, but close to it. These are supposed to control stringification, with their defaults:
Is "%7g" the same as "%7.6g"? Then why not to be explicit, and why 7/6 vs. 10/8, i.e. "1" vs "2" difference, any reason? The above vars are of limited use only; format of no integral type is controlled in any way, "indx" is not really for integers. Consider:
This default formatting of 3 ndarrays is weird. While their contents appear to be the same, I of course understand they are not, but then magick "7" (see
pdl/Basic/Core/Core.pm
Line 3405 in d144131
Another illustration:
I see it doesn't work, but then remember uniform nice gaps are also required for my presentation, and try:
No, same result.
The text was updated successfully, but these errors were encountered: