ilent2 / ott

Optical Tweezers Toolbox (Version 1)
Other
52 stars 31 forks source link

Octave and warnings #23

Closed AStilg closed 6 years ago

AStilg commented 6 years ago

Octave is not happy about the ott_warning.m function:

error: invalid assignment to cs-list outside multiple assignment

error: invalid empty index list

error: invalid dimension inquiry of a non-existent value

A few options there of what to do, but I'll leave it to you to decide. One way is to make it detect matlab, another way is to leave it out for now? another way is to be very strict with lists and parameters so that it doesn't output "this is not defined" type error.

EDIT: Another option is to release an octave version without warnings.

ilent2 commented 6 years ago

Fixed in f90b96a7b6545f4545f7e5d3235273fbeed7c574