Create from a single string

release/4.3a0
Frank Dellaert 2009-11-08 22:51:29 +00:00
parent 86173b66af
commit 3464c6a36f
1 changed files with 7 additions and 0 deletions

View File

@ -24,6 +24,13 @@ namespace gtsam {
Ordering() {
}
/**
* Create from a single string
*/
Ordering(std::string key) {
push_back(key);
}
/**
* Copy constructor from string vector
*/