Skip to content

Commit

Permalink
Merge branch 'main' of github.com:AlexanderDefuria/circuit-solver-alg…
Browse files Browse the repository at this point in the history
…orithms
  • Loading branch information
AlexanderDefuria committed Oct 12, 2023
2 parents 5834067 + 6db055f commit cf62830
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .idea/workspace.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions src/container.rs
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ use crate::tools::ToolType::SuperNode;
use serde::Serialize;
use std::fmt::{Debug, Formatter};
use std::rc::{Rc, Weak};
use crate::tools::ToolType::SuperNode;

/// Representation of a Schematic Container
///
Expand Down
2 changes: 2 additions & 0 deletions src/util.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,13 @@ use crate::component::Component::{CurrentSrc, Ground, Resistor, VoltageSrc};
use crate::container::Container;
use crate::elements::Element;


pub(crate) trait PrettyPrint {
fn pretty_string(&self) -> String;
fn basic_string(&self) -> String;
}


#[macro_export]
macro_rules! assert_known_error {
($left:expr, $right:expr) => {
Expand Down

0 comments on commit cf62830

Please sign in to comment.