ソースを参照

Fix forcenum.

publish
Mickey Derks 8年前
コミット
fbb0e7f597
1個のファイルの変更1行の追加1行の削除
  1. +1
    -1
      OOequipment/Equipment.m

+ 1
- 1
OOequipment/Equipment.m ファイルの表示

@@ -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;


読み込み中…
キャンセル
保存