mirror of
https://github.com/BelfrySCAD/BOSL2.git
synced 2025-03-03 16:09:39 +00:00
slight code cleanup for echo_matrix
This commit is contained in:
parent
0f55fb512e
commit
eb5de51533
1 changed files with 2 additions and 3 deletions
|
@ -514,8 +514,8 @@ function echo_matrix(M,description,sig=4,eps=1e-9) =
|
|||
horiz_line = chr(8213),
|
||||
matstr = matrix_strings(M,sig=sig,eps=eps),
|
||||
separator = str_join(repeat(horiz_line,10)),
|
||||
dummy1=echo(str(separator," ",is_def(description) ? description : "")),
|
||||
dummy2=[for(row=matstr) echo(row)]
|
||||
dummy=echo(str(separator," ",is_def(description) ? description : ""))
|
||||
[for(row=matstr) echo(row)]
|
||||
)
|
||||
echo(separator);
|
||||
|
||||
|
@ -525,5 +525,4 @@ module echo_matrix(M,description,sig=4,eps=1e-9)
|
|||
}
|
||||
|
||||
|
||||
|
||||
// vim: expandtab tabstop=4 shiftwidth=4 softtabstop=4 nowrap
|
||||
|
|
Loading…
Reference in a new issue