Skip to content

Changes

Summary

  1. Cast result of malloc (details)
  2. Remove newlines at end of Text primitive. (#4187) (details)
  3. Based on comments in #4156 just remove eps. (details)
  4. Based on review. (details)
  5. Replace unit-incorrect eps by better one. The value will differ slightly but it should not matter. (details)
Commit 4e3bb749a883583cb3fd151a878aa3c0613dab0d by dietmar.winkler
Cast result of malloc

This is common practice in MSL.
It is mandatory when compiling external C code as C++.
Also mind the later cast in "return (void*) table" that is
neither required by C nor by C++, nevertheless expressing the intention.
The file was modified ModelicaReference/package.mo (diff)
Commit e51c78d792af9f18ad9e4531a93ebf31cb0dfef1 by noreply
Remove newlines at end of Text primitive. (#4187)

Newline behavior in Text primitives is undefined, and in these cases seem to serve no purpose regardless.
The file was modified Modelica/Magnetic/FundamentalWave/Examples/BasicMachines/SynchronousMachines/ComparisonPolyphase/SMEE_Generator_Polyphase.mo (diff)
The file was modified Modelica/Magnetic/FundamentalWave/Examples/BasicMachines/SynchronousMachines/ComparisonPolyphase/SMPM_Inverter_Polyphase.mo (diff)
The file was modified Modelica/Magnetic/FundamentalWave/Examples/BasicMachines/SynchronousMachines/ComparisonPolyphase/SMR_Inverter_Polyphase.mo (diff)
Commit b88bed813f364f50566d477b0cd6d4b21b51593b by dietmar.winkler
Based on comments in #4156 just remove eps.
The file was modified Modelica/ComplexBlocks/Sources/ComplexRampPhasor.mo (diff)
The file was modified Modelica/Magnetic/FluxTubes/Material/HysteresisEverettParameter/BaseData.mo (diff)
Commit d0dbf4b1a8a3825dd5b84a5b01da3a8916fa8319 by Hans.Olsson
Replace unit-incorrect eps by better one. The value will differ slightly but it should not matter.
Note that it is similar to mat.M^2, but easier to understand.
The file was modified Modelica/Magnetic/FluxTubes/Shapes/HysteresisAndMagnets/GenericHystTellinenEverett.mo (diff)

Summary

  1. Cast result of malloc (details)
  2. Remove newlines at end of Text primitive. (#4187) (details)
  3. Based on comments in #4156 just remove eps. (details)
  4. Based on review. (details)
  5. Replace unit-incorrect eps by better one. The value will differ slightly but it should not matter. (details)
Commit 4e3bb749a883583cb3fd151a878aa3c0613dab0d by dietmar.winkler
Cast result of malloc

This is common practice in MSL.
It is mandatory when compiling external C code as C++.
Also mind the later cast in "return (void*) table" that is
neither required by C nor by C++, nevertheless expressing the intention.
The file was modified ModelicaReference/package.mo (diff)
Commit e51c78d792af9f18ad9e4531a93ebf31cb0dfef1 by noreply
Remove newlines at end of Text primitive. (#4187)

Newline behavior in Text primitives is undefined, and in these cases seem to serve no purpose regardless.
The file was modified Modelica/Magnetic/FundamentalWave/Examples/BasicMachines/SynchronousMachines/ComparisonPolyphase/SMR_Inverter_Polyphase.mo (diff)
The file was modified Modelica/Magnetic/FundamentalWave/Examples/BasicMachines/SynchronousMachines/ComparisonPolyphase/SMPM_Inverter_Polyphase.mo (diff)
The file was modified Modelica/Magnetic/FundamentalWave/Examples/BasicMachines/SynchronousMachines/ComparisonPolyphase/SMEE_Generator_Polyphase.mo (diff)
Commit b88bed813f364f50566d477b0cd6d4b21b51593b by dietmar.winkler
Based on comments in #4156 just remove eps.
The file was modified Modelica/ComplexBlocks/Sources/ComplexRampPhasor.mo (diff)
The file was modified Modelica/Magnetic/FluxTubes/Material/HysteresisEverettParameter/BaseData.mo (diff)
Commit d0dbf4b1a8a3825dd5b84a5b01da3a8916fa8319 by Hans.Olsson
Replace unit-incorrect eps by better one. The value will differ slightly but it should not matter.
Note that it is similar to mat.M^2, but easier to understand.
The file was modified Modelica/Magnetic/FluxTubes/Shapes/HysteresisAndMagnets/GenericHystTellinenEverett.mo (diff)

Summary

  1. Cast result of malloc (details)
  2. Remove newlines at end of Text primitive. (#4187) (details)
  3. Based on comments in #4156 just remove eps. (details)
  4. Based on review. (details)
  5. Replace unit-incorrect eps by better one. The value will differ slightly but it should not matter. (details)
Commit 4e3bb749a883583cb3fd151a878aa3c0613dab0d by dietmar.winkler
Cast result of malloc

This is common practice in MSL.
It is mandatory when compiling external C code as C++.
Also mind the later cast in "return (void*) table" that is
neither required by C nor by C++, nevertheless expressing the intention.
The file was modified ModelicaReference/package.mo (diff)
Commit e51c78d792af9f18ad9e4531a93ebf31cb0dfef1 by noreply
Remove newlines at end of Text primitive. (#4187)

Newline behavior in Text primitives is undefined, and in these cases seem to serve no purpose regardless.
The file was modified Modelica/Magnetic/FundamentalWave/Examples/BasicMachines/SynchronousMachines/ComparisonPolyphase/SMPM_Inverter_Polyphase.mo (diff)
The file was modified Modelica/Magnetic/FundamentalWave/Examples/BasicMachines/SynchronousMachines/ComparisonPolyphase/SMEE_Generator_Polyphase.mo (diff)
The file was modified Modelica/Magnetic/FundamentalWave/Examples/BasicMachines/SynchronousMachines/ComparisonPolyphase/SMR_Inverter_Polyphase.mo (diff)
Commit b88bed813f364f50566d477b0cd6d4b21b51593b by dietmar.winkler
Based on comments in #4156 just remove eps.
The file was modified Modelica/ComplexBlocks/Sources/ComplexRampPhasor.mo (diff)
The file was modified Modelica/Magnetic/FluxTubes/Material/HysteresisEverettParameter/BaseData.mo (diff)
Commit d0dbf4b1a8a3825dd5b84a5b01da3a8916fa8319 by Hans.Olsson
Replace unit-incorrect eps by better one. The value will differ slightly but it should not matter.
Note that it is similar to mat.M^2, but easier to understand.
The file was modified Modelica/Magnetic/FluxTubes/Shapes/HysteresisAndMagnets/GenericHystTellinenEverett.mo (diff)

Summary

  1. Cast result of malloc (details)
  2. Remove newlines at end of Text primitive. (#4187) (details)
  3. Based on comments in #4156 just remove eps. (details)
  4. Based on review. (details)
  5. Replace unit-incorrect eps by better one. The value will differ slightly but it should not matter. (details)
Commit 4e3bb749a883583cb3fd151a878aa3c0613dab0d by dietmar.winkler
Cast result of malloc

This is common practice in MSL.
It is mandatory when compiling external C code as C++.
Also mind the later cast in "return (void*) table" that is
neither required by C nor by C++, nevertheless expressing the intention.
The file was modified ModelicaReference/package.mo (diff)
Commit e51c78d792af9f18ad9e4531a93ebf31cb0dfef1 by noreply
Remove newlines at end of Text primitive. (#4187)

Newline behavior in Text primitives is undefined, and in these cases seem to serve no purpose regardless.
The file was modified Modelica/Magnetic/FundamentalWave/Examples/BasicMachines/SynchronousMachines/ComparisonPolyphase/SMR_Inverter_Polyphase.mo (diff)
The file was modified Modelica/Magnetic/FundamentalWave/Examples/BasicMachines/SynchronousMachines/ComparisonPolyphase/SMPM_Inverter_Polyphase.mo (diff)
The file was modified Modelica/Magnetic/FundamentalWave/Examples/BasicMachines/SynchronousMachines/ComparisonPolyphase/SMEE_Generator_Polyphase.mo (diff)
Commit b88bed813f364f50566d477b0cd6d4b21b51593b by dietmar.winkler
Based on comments in #4156 just remove eps.
The file was modified Modelica/ComplexBlocks/Sources/ComplexRampPhasor.mo (diff)
The file was modified Modelica/Magnetic/FluxTubes/Material/HysteresisEverettParameter/BaseData.mo (diff)
Commit d0dbf4b1a8a3825dd5b84a5b01da3a8916fa8319 by Hans.Olsson
Replace unit-incorrect eps by better one. The value will differ slightly but it should not matter.
Note that it is similar to mat.M^2, but easier to understand.
The file was modified Modelica/Magnetic/FluxTubes/Shapes/HysteresisAndMagnets/GenericHystTellinenEverett.mo (diff)