We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8feb64a commit 2f2d56bCopy full SHA for 2f2d56b
rust/src/bs_safe.rs
@@ -345,7 +345,7 @@ impl<T: Borrow<StanLibrary>> Model<T> {
345
/// generally last-index major) order. Parameter indices are separated with
346
/// periods (`.`). For example, `a[3]` is written `a.3` and `b[2,
347
/// 3]` as `b.2.3`. The numbering follows Stan and is indexed from 1.
348
- pub fn param_unc_names(&mut self) -> &str {
+ pub fn param_unc_names(&self) -> &str {
349
let cstr =
350
unsafe { CStr::from_ptr(self.ffi_lib().bs_param_unc_names(self.model.as_ptr())) };
351
cstr.to_str()
0 commit comments