Menu

#3 zero check fails when scalar is specified

v1.0 (example)
open
None
5
2014-05-09
2014-05-09
No

The "zero" function does not accept "double" as its first argument.
I believe this should be allowed.

<function name="zero" arg1="double" arg2="double" floatType="double"/>

...\gaigen\TestG25\e3ga_cpp> & 'C:\Program Files (x86)\G25\g25.exe' .\e3ga_cpp.xml

Unhandled Exception: System.NullReferenceException: Object reference not set to an instance of an object.
at G25.CG.Shared.CodeUtil.GetAccessStr(Specification S, SMV smv, String smvName, Boolean ptr)
at G25.CG.Shared.Func.Zero.WriteZeroFunction(FloatType FT, FuncArgInfo[] FAI, fgs F, Comment comment)
at G25.CG.Shared.Func.Zero.WriteFunction()
at G25.CG.Shared.BaseFunctionGenerator.WriteFunctionEntryPoint()
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Threading.ThreadHelper.ThreadStart()

Discussion


Log in to post a comment.