Skip to content

Commit

Permalink
Only set pseudo_set or pseudo_file at the same time.
Browse files Browse the repository at this point in the history
  • Loading branch information
xavierandrade committed Jul 9, 2024
1 parent 15b055f commit 0008bf1
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/ionic/species.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -49,11 +49,13 @@ class species : public pseudo::element {
}

auto pseudo_file(const std::string & file){
pseudo_set_.reset();
pseudo_file_ = file;
return *this;
}

auto pseudo_set(pseudo::set_id const & set){
pseudo_file_.reset();
pseudo_set_ = set;
return *this;
}
Expand Down

0 comments on commit 0008bf1

Please sign in to comment.