Skip to content

Commit

Permalink
I3st has the same representation as I1st
Browse files Browse the repository at this point in the history
because it's only implemented (to the extent that it is implemented) for
fundamentals, so there's no concern about stuff like (1,1,1) as in I2st
  • Loading branch information
ntBre committed Aug 19, 2024
1 parent afc9662 commit 8c4cd26
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions spectro/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -876,7 +876,7 @@ impl Spectro {
let mut ret = Vec::new();
for nst in 0..nstop {
match &states[nst] {
State::I1st(v) => {
State::I1st(v) | State::I3st(v) => {
// accept all zeros=ground state or a single 1=fund
if v.iter().sum::<usize>() > 1 {
continue;
Expand All @@ -887,7 +887,6 @@ impl Spectro {
continue;
}
}
State::I3st(_) => todo!(),
State::I12st { i1st: _, i2st: _ } => continue,
}
let vib1 = rotnst[(nst, ia)] - self.rotcon[ia];
Expand Down

0 comments on commit 8c4cd26

Please sign in to comment.