We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 413e98e commit 36b0c61Copy full SHA for 36b0c61
src/algorithm/reduce.rs
@@ -26,21 +26,6 @@ pub fn reduce(env: &mut Uiua) -> UiuaResult {
26
*xs.shape_mut() = new_shape;
27
env.push(xs);
28
}
29
- (Some((Primitive::Join, flipped)), xs) => {
30
- let rows = xs.into_rows().map(|row| {
31
- if env.unpack_boxes() {
32
- row.unpacked()
33
- } else {
34
- row
35
- }
36
- });
37
- let rows: Vec<_> = if flipped {
38
- rows.rev().flat_map(|row| row.into_rows()).collect()
39
40
- rows.flat_map(|row| row.into_rows()).collect()
41
- };
42
- env.push(Value::from_row_values(rows, env)?);
43
44
(Some((prim, flipped)), Value::Num(nums)) => {
45
if let Err(nums) = reduce_nums(prim, flipped, nums, env) {
46
return generic_reduce(f, Value::Num(nums), env);
0 commit comments