Back to the main page.

Bug 2369 - the solid_angle mex file crashes with single-precision input data

Status NEW
Reported 2013-11-07 11:30:00 +0100
Modified 2013-11-07 15:19:23 +0100
Product: FieldTrip
Component: core
Version: unspecified
Hardware: PC
Operating System: Mac OS
Importance: P3 normal
Assigned to:
URL:
Tags:
Depends on:
Blocks:
See also:

Robert Oostenveld - 2013-11-07 11:30:13 +0100

the following is enough to reproduce the problem. [pnt, tri] = icosahedron162; solid_angle(single(pnt), single(tri)) I realize that the lack of input variable checking might be a problem with many mex files.


Eelke Spaak - 2013-11-07 13:45:44 +0100

(In reply to comment #0) FWIW: the nan* mex files all handle double/single/uint8/16/32/logical input.


Robert Oostenveld - 2013-11-07 14:29:29 +0100

Created attachment 557 this ain't connectivity I am jealous of that. But you can be jealous of my mikado brain!


Eelke Spaak - 2013-11-07 15:19:23 +0100

(In reply to comment #2) Beautiful! I certainly am :)