diff options
author | bnewbold <bnewbold@robocracy.org> | 2017-01-28 21:36:49 -0800 |
---|---|---|
committer | bnewbold <bnewbold@robocracy.org> | 2017-01-28 21:36:49 -0800 |
commit | 97b0fc2295adcdb1ba54e003227f486a92425acd (patch) | |
tree | 5ff8f4c3a76681955cf33a456bc149b1d3ac1d00 /src/repr_latex.rs | |
parent | 1aec9b6479beecd327456780ae7c711040011933 (diff) | |
download | modelthing-97b0fc2295adcdb1ba54e003227f486a92425acd.tar.gz modelthing-97b0fc2295adcdb1ba54e003227f486a92425acd.zip |
switch to sci notation for floats (except latex)
Diffstat (limited to 'src/repr_latex.rs')
-rw-r--r-- | src/repr_latex.rs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/repr_latex.rs b/src/repr_latex.rs index 51c9e7a..09bf549 100644 --- a/src/repr_latex.rs +++ b/src/repr_latex.rs @@ -53,7 +53,6 @@ r#"<tr><td>\({name}\)</td> d.clone() } else { "".to_string() })); } - let rows = rows.join("\n"); Ok(format!( r#"<table> <tr><th>Variable @@ -64,7 +63,7 @@ r#"<table> </tr> {rows} </table>"#, - rows = rows.join("\n ")) + rows = rows.join("\n "))) } } |