Skip to content

Commit

Permalink
Update polarization dependency to 0.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
zmitchell committed Aug 21, 2019
1 parent 6b96a13 commit c31c24b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ license = "MIT OR Apache-2.0"

[dependencies]
error-chain = "~0.12.0"
polarization = "~0.1"
polarization = "~0.2"
quicli = "~0.3.0"
serde = "~1.0.0"
serde_derive = "~1.0.0"
Expand Down
2 changes: 1 addition & 1 deletion src/validate.rs
Original file line number Diff line number Diff line change
Expand Up @@ -297,7 +297,7 @@ pub fn validate_system(sys: &SystemDef) -> Result<OpticalSystem> {
}
match beam_res {
Err(err) => Err(err),
Ok(beam) => Ok(OpticalSystem::new().with_beam(beam).with_elements(elements)),
Ok(beam) => Ok(OpticalSystem::new().add_beam(beam).add_elements(elements)),
}
}

Expand Down

0 comments on commit c31c24b

Please sign in to comment.