Polish log messages
This commit is contained in:
parent
9e31037e17
commit
9c191ae586
@ -228,7 +228,7 @@ pub fn AddRemove() -> View {
|
||||
|
||||
/* DEBUG */
|
||||
// print updated constraint list
|
||||
console::log_1(&JsValue::from("constraints:"));
|
||||
console::log_1(&JsValue::from("Constraints:"));
|
||||
state.assembly.constraints.with(|csts| {
|
||||
for (_, cst) in csts.into_iter() {
|
||||
console::log_5(
|
||||
@ -246,7 +246,7 @@ pub fn AddRemove() -> View {
|
||||
create_effect(move || {
|
||||
rep.track();
|
||||
console::log_2(
|
||||
&JsValue::from("Constraint rep updated to"),
|
||||
&JsValue::from("Lorentz product updated to"),
|
||||
&JsValue::from(rep.get_untracked())
|
||||
);
|
||||
if active.get() {
|
||||
|
@ -146,7 +146,7 @@ impl Assembly {
|
||||
|
||||
/* DEBUG */
|
||||
// log the initial configuration matrix
|
||||
console::log_1(&JsValue::from("old configuration:"));
|
||||
console::log_1(&JsValue::from("Old configuration:"));
|
||||
for j in 0..guess.nrows() {
|
||||
let mut row_str = String::new();
|
||||
for k in 0..guess.ncols() {
|
||||
|
Loading…
Reference in New Issue
Block a user