Skip to content

Conversation

@jramapuram
Copy link
Member

Works every time now.
Tested by plotting many times at different window resolutions/titles and via:

loop {
    wnd.draw_plot(&af::range(values.dims().unwrap().clone()
                             , 0, af::Aftype::F32).unwrap(), &values, None);
    for i in 0..100 {
      wnd.set_title(i.to_string());
    }
    if wnd.is_closed().unwrap() == true { break; }
  }

9prady9 added a commit that referenced this pull request Oct 1, 2015
use CString and to_bytes_with_nul to be C compatible with \0
@9prady9 9prady9 merged commit e4e20aa into master Oct 1, 2015
@9prady9
Copy link
Member

9prady9 commented Oct 1, 2015

👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants