Giter VIP home page Giter VIP logo

niell-lab-analysis's People

Contributors

crisniell avatar eflister avatar sp-350 avatar

Watchers

James Cloos avatar

Forkers

cstephany

niell-lab-analysis's Issues

PsychStimController doesn't save/load SyncSource parameter

What steps will reproduce the problem?
1. Set up a stimulus protocol with 'Sync to' set to something other than default
2. Save parameters
3. Restart PSC and load parameters

What is the expected output? What do you see instead?
I'd expect all parameters to load and most do, but the 'Sync to' parameter is 
not loaded.

What version of the product are you using? On what operating system?
I cloned the repository today, Jan 8 2013. I use Ubuntu Linux, but this is 
platform independent.

Please provide any additional information below.
Bugs: 
- in function SaveParams() in the last line where the parameters are saved, 
'SyncSource' is not included.
- in function LoadParams_Callback() towards the end where 'SyncSource' is set 
onto the handle the code is 
    set(handles.squaregratings,'Value',SyncSource);
should be
    set(handles.SyncSource,'Value',SyncSource);

Original issue reported on code.google.com by [email protected] on 8 Jan 2013 at 8:51

could not compile the file `fast_kmeans_step.c' under 64bit system

What steps will reproduce the problem?
1. cd to directory `chronux/spikesort/mex/'
2. Enter matlab command window.
3. Run `mex CFLAGS="\$CFLAGS -std=gnu89" -largeArrayDims fast_kmeans_step.c 
-lmwblas'

  Note that the `-std=gnu89' is used to make gcc accept the c++ style comment `//'

What is the expected output? What do you see instead?
Expected: Compiled without error.
Instead : fast_kmeans_step.cpp:83:56: error: ‘dgemm_’ was not declared in 
this scope

After fix the header and function name, it still show error:
fast_kmeans_step.cpp:85:56: error: cannot convert ‘int*’ to ‘ptrdiff_t* 
{aka long int*}’ for argument ‘3’ to ‘void dgemm_(char*, char*, 
ptrdiff_t*, ptrdiff_t*, ptrdiff_t*, double*, double*, ptrdiff_t*, double*, 
ptrdiff_t*, double*, double*, ptrdiff_t*)’

After fix the function arguments, the code successfully compiled, but will 
cause Matlab to crash.
It's due to these two lines:
  plhs[0] = mxCreateNumericMatrix(mcols, 1, mxUINT32_CLASS, mxREAL);
  assigns    = (unsigned long *) mxGetPr(plhs[0]);
`mxUINT32_CLASS' is not `unsigned long' in 64bit platform.

What version of the product are you using? On what operating system?
In a 64 bit Linux system with gcc 4.7, matlab 2012.

Please provide any additional information below.
A proposed fix is attached, but need a verify.

Original issue reported on code.google.com by [email protected] on 22 Aug 2014 at 6:40

Attachments:

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.