Skip to content

Commit 0f9ec0c

Browse files
authored
Merge pull request #499 from KxSystems/KXI-58865
KXI-58865 - [structuredText] char result renders incorrectly
2 parents 27889da + 28d7c14 commit 0f9ec0c

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

resources/evaluate.q

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,15 @@
175175
generateTableColumns[originalType;isAtom;0b;data];
176176
generateColumns[originalType;isAtom;0b;data;$[isAtom;"value";"values"]]
177177
];
178-
: .j.j `count`columns!(quantity; columns)
178+
: .j.j `count`columns!($[
179+
(type columns) = 99h;
180+
$[
181+
(count columns[`values] = 1);
182+
1;
183+
quantity
184+
];
185+
quantity
186+
]; columns)
179187
}[generateTableColumns; generateColumns];
180188
typeOf: {$[0>type x; .axq.i_PRIMCODE neg type x; .axq.i_NONPRIMCODE type x]};
181189
isAtom: {not type[x] within 0 99h};

0 commit comments

Comments
 (0)