Explorar el Código

Fix forcenum.

publish
Mickey Derks hace 8 años
padre
commit
fbb0e7f597
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. +1
    -1
      OOequipment/Equipment.m

+ 1
- 1
OOequipment/Equipment.m Ver fichero

@@ -214,7 +214,7 @@ classdef Equipment < handle
function num = forceNum(input)
%FORCENUM Throws an error if the input is not numeric.
if ~isnumeric(input)
if ~isnum(input)
error('Input should be a (single) number.');
end
num = input;


Cargando…
Cancelar
Guardar